pub struct On<T> {
pub body: Option<String>,
pub what: T,
pub entity: MateEntity,
}Expand description
What an entity of a mate is to a solve: what it is, in the frame of
the body it moves with — the placed part it is of, however deep, by
name; none for the part itself, which never moves — and the entity, as
the part names it, to say what the mate joins.
Fields§
§body: Option<String>§what: T§entity: MateEntityTrait Implementations§
impl<T: PartialEq> StructuralPartialEq for On<T>
Auto Trait Implementations§
impl<T> Freeze for On<T>where
T: Freeze,
impl<T> RefUnwindSafe for On<T>where
T: RefUnwindSafe,
impl<T> Send for On<T>where
T: Send,
impl<T> Sync for On<T>where
T: Sync,
impl<T> Unpin for On<T>where
T: Unpin,
impl<T> UnsafeUnpin for On<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for On<T>where
T: UnwindSafe,
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