[][src]Struct linux::fd::flags::DescriptionFlags

pub struct DescriptionFlags(pub c_int);

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]

impl Debug for DescriptionFlags[src]

impl Not for DescriptionFlags[src]

type Output = DescriptionFlags

The resulting type after applying the ! operator.

impl BitAnd<DescriptionFlags> for DescriptionFlags[src]

type Output = DescriptionFlags

The resulting type after applying the & operator.

impl BitOr<DescriptionFlags> for DescriptionFlags[src]

type Output = DescriptionFlags

The resulting type after applying the | operator.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]