#[non_exhaustive]pub enum AttributeScope {
Message,
Signal,
NodeMessage,
NodeSignal,
}Expand description
Whether an AttributeStruct is emitted once per message or once per signal.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Message
One const per message (BO_ attribute).
Signal
One const per signal (SG_ attribute).
NodeMessage
One const per node related to a message (BU_BO_REL_ relation attribute).
NodeSignal
One const per receiving node of a signal (BU_SG_REL_ relation attribute).
Trait Implementations§
Source§impl Clone for AttributeScope
impl Clone for AttributeScope
impl Copy for AttributeScope
Auto Trait Implementations§
impl Freeze for AttributeScope
impl RefUnwindSafe for AttributeScope
impl Send for AttributeScope
impl Sync for AttributeScope
impl Unpin for AttributeScope
impl UnsafeUnpin for AttributeScope
impl UnwindSafe for AttributeScope
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