pub struct Gid(/* private fields */);
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