#[repr(C)]
pub union OptionPidU {
pub none: u8,
pub some: Pid,
}
Fields§
§none: u8
§some: Pid
Trait Implementations§
Source§impl Clone for OptionPidU
impl Clone for OptionPidU
Source§fn clone(&self) -> OptionPidU
fn clone(&self) -> OptionPidU
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for OptionPidU
Auto Trait Implementations§
impl Freeze for OptionPidU
impl RefUnwindSafe for OptionPidU
impl Send for OptionPidU
impl Sync for OptionPidU
impl Unpin for OptionPidU
impl UnwindSafe for OptionPidU
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