Struct libreda_db::layout::prelude::ComplexTransform [−][src]
pub struct ComplexTransform<T> where
T: CoordinateType, { /* fields omitted */ }Expand description
Transformation described by a mirroring at the x axis,
then a rotation around the origin, then a scaling, then a translation.
This transformation allows rotations by arbitrary angles.
Trait Implementations
impl<'de, T> Deserialize<'de> for ComplexTransform<T> where
T: CoordinateType + Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ComplexTransform<T> where
T: CoordinateType + Deserialize<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ComplexTransform<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ComplexTransform<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<T> PartialEq<ComplexTransform<T>> for ComplexTransform<T> where
T: PartialEq<T> + CoordinateType,
impl<T> PartialEq<ComplexTransform<T>> for ComplexTransform<T> where
T: PartialEq<T> + CoordinateType,
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for ComplexTransform<T> where
T: RefUnwindSafe,
impl<T> Send for ComplexTransform<T> where
T: Send,
impl<T> Sync for ComplexTransform<T> where
T: Sync,
impl<T> Unpin for ComplexTransform<T> where
T: Unpin,
impl<T> UnwindSafe for ComplexTransform<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more