[−][src]Struct linux::fd::flags::DescriptionFlags
File description flags.
Methods
impl DescriptionFlags
[src]
pub fn set(&mut self, flag: DescriptionFlags)
[src]
Sets a flag.
[argument, flag] The flag to be set.
pub fn unset(&mut self, flag: DescriptionFlags)
[src]
Clears a flag.
[argument, flag] The flag to be cleared.
pub fn is_set(&self, flag: DescriptionFlags) -> bool
[src]
Returns whether a flag is set.
[argument, flag] The flag to be checked.
Trait Implementations
impl Eq for DescriptionFlags
[src]
impl PartialEq<DescriptionFlags> for DescriptionFlags
[src]
fn eq(&self, other: &DescriptionFlags) -> bool
[src]
fn ne(&self, other: &DescriptionFlags) -> bool
[src]
impl Debug for DescriptionFlags
[src]
impl Not for DescriptionFlags
[src]
type Output = DescriptionFlags
The resulting type after applying the !
operator.
fn not(self) -> DescriptionFlags
[src]
impl BitAnd<DescriptionFlags> for DescriptionFlags
[src]
type Output = DescriptionFlags
The resulting type after applying the &
operator.
fn bitand(self, other: DescriptionFlags) -> DescriptionFlags
[src]
impl BitOr<DescriptionFlags> for DescriptionFlags
[src]
type Output = DescriptionFlags
The resulting type after applying the |
operator.
fn bitor(self, other: DescriptionFlags) -> DescriptionFlags
[src]
Auto Trait Implementations
impl Send for DescriptionFlags
impl Sync for DescriptionFlags
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,