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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)