Struct iron_shapes::repetition::IrregularRepetition
source · pub struct IrregularRepetition<T>where
T: CoordinateType,{
offsets: Vec<Vector<T>>,
}Expand description
Describe a non-equispaced repetition by storing a list of offsets.
Fields§
§offsets: Vec<Vector<T>>Offset vectors of the repetition.
Implementations§
Trait Implementations§
source§impl<T> Clone for IrregularRepetition<T>where
T: CoordinateType + Clone,
impl<T> Clone for IrregularRepetition<T>where T: CoordinateType + Clone,
source§fn clone(&self) -> IrregularRepetition<T>
fn clone(&self) -> IrregularRepetition<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 for IrregularRepetition<T>where
T: CoordinateType + Debug,
impl<T> Debug for IrregularRepetition<T>where T: CoordinateType + Debug,
source§impl<'de, T> Deserialize<'de> for IrregularRepetition<T>where
T: CoordinateType + Deserialize<'de>,
impl<'de, T> Deserialize<'de> for IrregularRepetition<T>where T: CoordinateType + Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> Hash for IrregularRepetition<T>where
T: CoordinateType + Hash,
impl<T> Hash for IrregularRepetition<T>where T: CoordinateType + Hash,
source§impl<T> PartialEq<IrregularRepetition<T>> for IrregularRepetition<T>where
T: CoordinateType + PartialEq,
impl<T> PartialEq<IrregularRepetition<T>> for IrregularRepetition<T>where T: CoordinateType + PartialEq,
source§fn eq(&self, other: &IrregularRepetition<T>) -> bool
fn eq(&self, other: &IrregularRepetition<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.