#[repr(transparent)]pub struct Scale<E: Entity>(pub E);
Tuple Fields§
§0: E
Trait Implementations§
source§impl<E: Entity> GenericMatrix for Scale<E>
impl<E: Entity> GenericMatrix for Scale<E>
source§impl<E: Entity> GenericMatrixMut for Scale<E>
impl<E: Entity> GenericMatrixMut for Scale<E>
source§impl<E: Ord + Entity> Ord for Scale<E>
impl<E: Ord + Entity> Ord for Scale<E>
source§impl<E: PartialEq + Entity> PartialEq for Scale<E>
impl<E: PartialEq + Entity> PartialEq for Scale<E>
source§impl<E: PartialOrd + Entity> PartialOrd for Scale<E>
impl<E: PartialOrd + Entity> PartialOrd for Scale<E>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<E: Copy + Entity> Copy for Scale<E>
impl<E: Eq + Entity> Eq for Scale<E>
impl<E: Entity> StructuralEq for Scale<E>
impl<E: Entity> StructuralPartialEq for Scale<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for Scale<E>where E: RefUnwindSafe,
impl<E> Send for Scale<E>
impl<E> Sync for Scale<E>
impl<E> Unpin for Scale<E>where E: Unpin,
impl<E> UnwindSafe for Scale<E>where E: 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