pub struct VectorPrimitive {
pub vector: VectorId,
pub bounds: Rect,
pub fit: ImageFit,
pub color: Color,
pub opacity: f32,
pub transform: Affine2D,
pub clips: ClipChain,
}Fields§
§vector: VectorId§bounds: Rect§fit: ImageFit§color: Color§opacity: f32§transform: Affine2D§clips: ClipChainTrait Implementations§
Source§impl Clone for VectorPrimitive
impl Clone for VectorPrimitive
Source§fn clone(&self) -> VectorPrimitive
fn clone(&self) -> VectorPrimitive
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 moreSource§impl Debug for VectorPrimitive
impl Debug for VectorPrimitive
Source§impl PartialEq for VectorPrimitive
impl PartialEq for VectorPrimitive
impl StructuralPartialEq for VectorPrimitive
Auto Trait Implementations§
impl Freeze for VectorPrimitive
impl RefUnwindSafe for VectorPrimitive
impl Send for VectorPrimitive
impl Sync for VectorPrimitive
impl Unpin for VectorPrimitive
impl UnsafeUnpin for VectorPrimitive
impl UnwindSafe for VectorPrimitive
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