pub struct BitmaskType {
pub name: String,
pub bit_bound: Option<u32>,
pub bit_values: Vec<BitValue>,
}Expand description
<bitmask>-Definition (Spec §7.3.3.4.8).
Fields§
§name: StringBitmask-Name.
bit_bound: Option<u32>bitBound-Attribut (default 32).
bit_values: Vec<BitValue><bit_value>-Eintraege.
Trait Implementations§
Source§impl Clone for BitmaskType
impl Clone for BitmaskType
Source§fn clone(&self) -> BitmaskType
fn clone(&self) -> BitmaskType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BitmaskType
impl Debug for BitmaskType
Source§impl Default for BitmaskType
impl Default for BitmaskType
Source§fn default() -> BitmaskType
fn default() -> BitmaskType
Returns the “default value” for a type. Read more
Source§impl PartialEq for BitmaskType
impl PartialEq for BitmaskType
Source§fn eq(&self, other: &BitmaskType) -> bool
fn eq(&self, other: &BitmaskType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BitmaskType
impl StructuralPartialEq for BitmaskType
Auto Trait Implementations§
impl Freeze for BitmaskType
impl RefUnwindSafe for BitmaskType
impl Send for BitmaskType
impl Sync for BitmaskType
impl Unpin for BitmaskType
impl UnsafeUnpin for BitmaskType
impl UnwindSafe for BitmaskType
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