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