pub struct Attribute {
pub group: u32,
pub type_id: SctId,
pub destination_id: SctId,
}Expand description
One necessary-normal-form relationship: group is 0 for ungrouped
(spec/07’s relationshipGroup convention), otherwise a group number
assigned 1..N in a stable (sorted) order — this crate generates from
a single axiom set with no prior release to number against, so there’s
no attempt to preserve any particular numbering scheme beyond that.
Fields§
§group: u32§type_id: SctId§destination_id: SctIdTrait Implementations§
impl Copy for Attribute
impl Eq for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnsafeUnpin for Attribute
impl UnwindSafe for Attribute
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