Struct msdfgen::Projection
source · Expand description
Projection
Fields§
§scale: Vector2<T>
§translate: Vector2<T>
Implementations§
Trait Implementations§
source§impl<T> AsMut<Projection<T>> for Framing<T>
impl<T> AsMut<Projection<T>> for Framing<T>
source§fn as_mut(&mut self) -> &mut Projection<T>
fn as_mut(&mut self) -> &mut Projection<T>
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl<T> AsRef<Projection<T>> for Framing<T>
impl<T> AsRef<Projection<T>> for Framing<T>
source§fn as_ref(&self) -> &Projection<T>
fn as_ref(&self) -> &Projection<T>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<T: Clone> Clone for Projection<T>
impl<T: Clone> Clone for Projection<T>
source§fn clone(&self) -> Projection<T>
fn clone(&self) -> Projection<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for Projection<T>
impl<T: Debug> Debug for Projection<T>
source§impl<T: Default> Default for Projection<T>
impl<T: Default> Default for Projection<T>
source§fn default() -> Projection<T>
fn default() -> Projection<T>
Returns the “default value” for a type. Read more
source§impl<T: PartialEq> PartialEq<Projection<T>> for Projection<T>
impl<T: PartialEq> PartialEq<Projection<T>> for Projection<T>
source§fn eq(&self, other: &Projection<T>) -> bool
fn eq(&self, other: &Projection<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.