pub struct DDL(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
cb::Dir
and lb::Dir
attributes (u16
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl DDL
impl DDL
sourcepub const unsafe fn from_raw(v: u16) -> Self
pub const unsafe fn from_raw(v: u16) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u16
pub const fn raw(&self) -> u16
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl DDL
impl DDL
pub const READWRITE: Self = _
pub const READONLY: Self = _
pub const HIDDEN: Self = _
pub const SYSTEM: Self = _
pub const DIRECTORY: Self = _
pub const ARCHIVE: Self = _
pub const POSTMSGS: Self = _
pub const DRIVES: Self = _
pub const EXCLUSIVE: Self = _
Trait Implementations§
source§impl BitAndAssign for DDL
impl BitAndAssign for DDL
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for DDL
impl BitOrAssign for DDL
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for DDL
impl BitXorAssign for DDL
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for DDL
impl IntUnderlying for DDL
source§impl NativeBitflag for DDL
impl NativeBitflag for DDL
source§impl Ord for DDL
impl Ord for DDL
source§impl PartialOrd for DDL
impl PartialOrd for DDL
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 DDL
impl Eq for DDL
impl NativeConst for DDL
impl Send for DDL
impl StructuralPartialEq for DDL
Auto Trait Implementations§
impl Freeze for DDL
impl RefUnwindSafe for DDL
impl Sync for DDL
impl Unpin for DDL
impl UnwindSafe for DDL
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