pub enum SoleRole {
Sole,
}Expand description
The role roster of a kind that renders exactly one unit, at the declaration site.
Not a placeholder and not an absence: a kind whose rendering is one unit says so with a roster of one, and a kind whose one unit lands elsewhere declares its own.
Variants§
Sole
The kind’s one rendered unit.
Trait Implementations§
impl Copy for SoleRole
impl Eq for SoleRole
Source§impl Role for SoleRole
impl Role for SoleRole
Source§fn destination(self) -> Destination
fn destination(self) -> Destination
Where the unit rendered under this role lands. Read more
impl StructuralPartialEq for SoleRole
Auto Trait Implementations§
impl Freeze for SoleRole
impl RefUnwindSafe for SoleRole
impl Send for SoleRole
impl Sync for SoleRole
impl Unpin for SoleRole
impl UnsafeUnpin for SoleRole
impl UnwindSafe for SoleRole
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