Struct svgtypes::PaintOrder
source · pub struct PaintOrder {
pub order: [PaintOrderKind; 3],
}
Expand description
Representation of the paint-order
property.
Fields§
§order: [PaintOrderKind; 3]
The order.
Guarantee to not have duplicates.
Trait Implementations§
source§impl Clone for PaintOrder
impl Clone for PaintOrder
source§fn clone(&self) -> PaintOrder
fn clone(&self) -> PaintOrder
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 Debug for PaintOrder
impl Debug for PaintOrder
source§impl Default for PaintOrder
impl Default for PaintOrder
source§impl From<[PaintOrderKind; 3]> for PaintOrder
impl From<[PaintOrderKind; 3]> for PaintOrder
source§fn from(order: [PaintOrderKind; 3]) -> Self
fn from(order: [PaintOrderKind; 3]) -> Self
Converts to this type from the input type.
source§impl FromStr for PaintOrder
impl FromStr for PaintOrder
source§impl PartialEq for PaintOrder
impl PartialEq for PaintOrder
source§fn eq(&self, other: &PaintOrder) -> bool
fn eq(&self, other: &PaintOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PaintOrder
impl Eq for PaintOrder
impl StructuralEq for PaintOrder
impl StructuralPartialEq for PaintOrder
Auto Trait Implementations§
impl RefUnwindSafe for PaintOrder
impl Send for PaintOrder
impl Sync for PaintOrder
impl Unpin for PaintOrder
impl UnwindSafe for PaintOrder
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