pub struct BitValueNode {
pub node_id: NodeId,
pub name: String,
pub position: Option<u16>,
pub parent: Id<TypeNode>,
pub facets: Facets,
}Expand description
One bitmask bit. Spec §3.3.
position is None for a positional bit and Some for an explicit
@position(k), for the same reason as EnumeratorNode::value.
Fields§
§node_id: NodeIdStable identity.
name: StringSimple name.
position: Option<u16>Explicit @position(k), if declared.
parent: Id<TypeNode>The bitmask this bit belongs to.
facets: FacetsPer-source information. Spec §4.
Trait Implementations§
Source§impl Clone for BitValueNode
impl Clone for BitValueNode
Source§impl Debug for BitValueNode
impl Debug for BitValueNode
impl Eq for BitValueNode
Source§impl PartialEq for BitValueNode
impl PartialEq for BitValueNode
impl StructuralPartialEq for BitValueNode
Auto Trait Implementations§
impl Freeze for BitValueNode
impl RefUnwindSafe for BitValueNode
impl Send for BitValueNode
impl Sync for BitValueNode
impl Unpin for BitValueNode
impl UnsafeUnpin for BitValueNode
impl UnwindSafe for BitValueNode
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