pub struct Gid(/* private fields */);
Expand description
Group identifier
Newtype pattern around gid_t
(which is just alias). It prevents bugs caused by accidentally
passing wrong value.
Implementations§
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)