pub struct BitfieldDefinition {
pub name: String,
pub backing_type: Primitive,
pub members: Vec<BitfieldMember>,
pub reserved_indexes: Vec<u64>,
pub comment: Option<String>,
pub orphan_comments: Vec<StandaloneCommentDefinition>,
}Fields§
§name: StringName of the bitfield
backing_type: PrimitiveThe primitive backing type of the bitfield. Only integers are valid
members: Vec<BitfieldMember>Members of the bitfield
reserved_indexes: Vec<u64>Indexes that are reserved, and should not be used
comment: Option<String>Comment describing the bitfield
orphan_comments: Vec<StandaloneCommentDefinition>Loose comments inside the bitfield declaration
Trait Implementations§
Source§impl Clone for BitfieldDefinition
impl Clone for BitfieldDefinition
Auto Trait Implementations§
impl Freeze for BitfieldDefinition
impl RefUnwindSafe for BitfieldDefinition
impl Send for BitfieldDefinition
impl Sync for BitfieldDefinition
impl Unpin for BitfieldDefinition
impl UnsafeUnpin for BitfieldDefinition
impl UnwindSafe for BitfieldDefinition
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