Struct yash_syntax::syntax::Fd
source · pub struct Fd(pub RawFd);
Expand description
File descriptor.
This is the newtype
pattern applied to RawFd
, which is merely a type
alias.
Tuple Fields§
§0: RawFd
Implementations§
Trait Implementations§
source§impl Ord for Fd
impl Ord for Fd
source§impl PartialOrd for Fd
impl PartialOrd for Fd
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Fd
impl Eq for Fd
impl StructuralEq for Fd
impl StructuralPartialEq for Fd
Auto Trait Implementations§
impl RefUnwindSafe for Fd
impl Send for Fd
impl Sync for Fd
impl Unpin for Fd
impl UnwindSafe for Fd
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