pub enum ValueRole {
BaseTarget,
AttachmentTarget,
}Expand description
Enumeration that describes the role of a value, used by overrides in EntityInterface.
Variants§
BaseTarget
This value is for the ‘base’ object, i.e. the first object type specified in a command.
AttachmentTarget
This value is for the ‘attachment’ object, i.e. the second object type specified in a command.
Trait Implementations§
impl Copy for ValueRole
impl Eq for ValueRole
impl StructuralPartialEq for ValueRole
Auto Trait Implementations§
impl Freeze for ValueRole
impl RefUnwindSafe for ValueRole
impl Send for ValueRole
impl Sync for ValueRole
impl Unpin for ValueRole
impl UnsafeUnpin for ValueRole
impl UnwindSafe for ValueRole
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