pub enum DescriptorFlag {
Next = 1,
Write = 2,
Indirect = 4,
}
Expand description
Descriptor flags
This enum represents the flags that can be set for a descriptor. It includes flags for indicating the next descriptor, write operation, and indirect descriptor.
Variants§
Implementations§
Source§impl DescriptorFlag
impl DescriptorFlag
Sourcepub fn set(&self, flags: &mut u16)
pub fn set(&self, flags: &mut u16)
Set the flag
This method sets the specified flag in the given flags.
§Arguments
flags
- A mutable reference to the flags to modify.
Trait Implementations§
Source§impl Clone for DescriptorFlag
impl Clone for DescriptorFlag
Source§fn clone(&self) -> DescriptorFlag
fn clone(&self) -> DescriptorFlag
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for DescriptorFlag
Auto Trait Implementations§
impl Freeze for DescriptorFlag
impl RefUnwindSafe for DescriptorFlag
impl Send for DescriptorFlag
impl Sync for DescriptorFlag
impl Unpin for DescriptorFlag
impl UnwindSafe for DescriptorFlag
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)