pub enum ColourRefView<'m> {
Colour(&'m Colour),
ColourRgb(&'m ColourRgb),
ColourSpecification(&'m ColourSpecification),
DraughtingPreDefinedColour(&'m DraughtingPreDefinedColour),
PreDefinedColour(&'m PreDefinedColour),
Complex(&'m ComplexUnit),
}Variants§
Colour(&'m Colour)
ColourRgb(&'m ColourRgb)
ColourSpecification(&'m ColourSpecification)
DraughtingPreDefinedColour(&'m DraughtingPreDefinedColour)
PreDefinedColour(&'m PreDefinedColour)
Complex(&'m ComplexUnit)
Trait Implementations§
Source§impl<'m> Clone for ColourRefView<'m>
impl<'m> Clone for ColourRefView<'m>
Source§fn clone(&self) -> ColourRefView<'m>
fn clone(&self) -> ColourRefView<'m>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'m> Copy for ColourRefView<'m>
Auto Trait Implementations§
impl<'m> Freeze for ColourRefView<'m>
impl<'m> RefUnwindSafe for ColourRefView<'m>
impl<'m> Send for ColourRefView<'m>
impl<'m> Sync for ColourRefView<'m>
impl<'m> Unpin for ColourRefView<'m>
impl<'m> UnsafeUnpin for ColourRefView<'m>
impl<'m> UnwindSafe for ColourRefView<'m>
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