[][src]Struct sixtyfps_corelib::items::Path

#[repr(C)]pub struct Path {
    pub x: Property<f32>,
    pub y: Property<f32>,
    pub width: Property<f32>,
    pub height: Property<f32>,
    pub elements: Property<PathData>,
    pub fill_color: Property<Color>,
    pub stroke_color: Property<Color>,
    pub stroke_width: Property<f32>,
    pub cached_rendering_data: CachedRenderingData,
}

The implementation of the Path element

Fields

x: Property<f32>y: Property<f32>width: Property<f32>height: Property<f32>elements: Property<PathData>fill_color: Property<Color>stroke_color: Property<Color>stroke_width: Property<f32>cached_rendering_data: CachedRenderingData

Implementations

impl Path[src]

pub const FIELD_OFFSETS: PathFieldsOffsets[src]

Return a struct containing the offset of for the fields of this struct

Trait Implementations

impl Default for Path[src]

impl HasStaticVTable<ItemVTable> for Path[src]

impl Item for Path[src]

impl ItemConsts for Path[src]

impl<'__dummy_lifetime> Unpin for Path where
    __MustNotImplUnpin<'__dummy_lifetime>: Unpin
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Path

impl !Send for Path

impl !Sync for Path

impl UnwindSafe for Path

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.