pub struct Gid(/* private fields */);
Available on crate feature
fs
only.Expand description
gid_t
—A Unix group ID.
Implementations§
Source§impl Gid
impl Gid
Sourcepub const unsafe fn from_raw(raw: __kernel_gid_t) -> Self
pub const unsafe fn from_raw(raw: __kernel_gid_t) -> Self
Sourcepub const fn as_raw(self) -> __kernel_gid_t
pub const fn as_raw(self) -> __kernel_gid_t
Converts a Gid
into a RawGid
.
Trait Implementations§
impl Copy for Gid
impl Eq for Gid
impl StructuralPartialEq for Gid
Auto Trait Implementations§
impl Freeze for Gid
impl RefUnwindSafe for Gid
impl Send for Gid
impl Sync for Gid
impl Unpin for Gid
impl UnwindSafe for Gid
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes