Struct sixtyfps_corelib::items::Opacity[][src]

#[repr(C)]
pub struct Opacity { pub x: Property<f32>, pub y: Property<f32>, pub width: Property<f32>, pub height: Property<f32>, pub opacity: Property<f32>, pub cached_rendering_data: CachedRenderingData, }

The Opacity Item is not meant to be used directly by the .60 code, instead, the opacity: xxx or visible: false should be used

Fields

x: Property<f32>y: Property<f32>width: Property<f32>height: Property<f32>opacity: Property<f32>cached_rendering_data: CachedRenderingData

Implementations

impl Opacity[src]

pub const FIELD_OFFSETS: OpacityFieldsOffsets[src]

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

impl Opacity[src]

pub fn x(self: Pin<&Self>) -> f32[src]

pub fn y(self: Pin<&Self>) -> f32[src]

pub fn width(self: Pin<&Self>) -> f32[src]

pub fn height(self: Pin<&Self>) -> f32[src]

pub fn opacity(self: Pin<&Self>) -> f32[src]

Trait Implementations

impl Default for Opacity[src]

impl HasStaticVTable<ItemVTable> for Opacity[src]

impl Item for Opacity[src]

impl ItemConsts for Opacity[src]

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

Auto Trait Implementations

impl !RefUnwindSafe for Opacity

impl Send for Opacity

impl !Sync for Opacity

impl UnwindSafe for Opacity

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.