pub struct AttachmentDescriptionFlagBits(/* private fields */);Expand description
Implementations§
Source§impl AttachmentDescriptionFlagBits
impl AttachmentDescriptionFlagBits
Sourcepub const RESOLVE_SKIP_TRANSFER_FUNCTION: Self
pub const RESOLVE_SKIP_TRANSFER_FUNCTION: Self
Bit 1.
Sourcepub const RESOLVE_ENABLE_TRANSFER_FUNCTION: Self
pub const RESOLVE_ENABLE_TRANSFER_FUNCTION: Self
Bit 2.
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAndAssign for AttachmentDescriptionFlagBits
impl BitAndAssign for AttachmentDescriptionFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for AttachmentDescriptionFlagBits
impl BitOrAssign for AttachmentDescriptionFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for AttachmentDescriptionFlagBits
impl BitXorAssign for AttachmentDescriptionFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for AttachmentDescriptionFlagBits
impl Clone for AttachmentDescriptionFlagBits
Source§fn clone(&self) -> AttachmentDescriptionFlagBits
fn clone(&self) -> AttachmentDescriptionFlagBits
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AttachmentDescriptionFlagBits
impl Default for AttachmentDescriptionFlagBits
Source§fn default() -> AttachmentDescriptionFlagBits
fn default() -> AttachmentDescriptionFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for AttachmentDescriptionFlagBits
impl Hash for AttachmentDescriptionFlagBits
Source§impl Not for AttachmentDescriptionFlagBits
impl Not for AttachmentDescriptionFlagBits
Source§impl Ord for AttachmentDescriptionFlagBits
impl Ord for AttachmentDescriptionFlagBits
Source§fn cmp(&self, other: &AttachmentDescriptionFlagBits) -> Ordering
fn cmp(&self, other: &AttachmentDescriptionFlagBits) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AttachmentDescriptionFlagBits
impl PartialEq for AttachmentDescriptionFlagBits
Source§fn eq(&self, other: &AttachmentDescriptionFlagBits) -> bool
fn eq(&self, other: &AttachmentDescriptionFlagBits) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AttachmentDescriptionFlagBits
impl PartialOrd for AttachmentDescriptionFlagBits
impl Copy for AttachmentDescriptionFlagBits
impl Eq for AttachmentDescriptionFlagBits
impl StructuralPartialEq for AttachmentDescriptionFlagBits
Auto Trait Implementations§
impl Freeze for AttachmentDescriptionFlagBits
impl RefUnwindSafe for AttachmentDescriptionFlagBits
impl Send for AttachmentDescriptionFlagBits
impl Sync for AttachmentDescriptionFlagBits
impl Unpin for AttachmentDescriptionFlagBits
impl UnsafeUnpin for AttachmentDescriptionFlagBits
impl UnwindSafe for AttachmentDescriptionFlagBits
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