Struct ux::prelude::Builder[][src]

pub struct Builder<T> { /* fields omitted */ }

Implementations

impl<T> Builder<T> where
    T: Default + Clone
[src]

pub fn build(&self) -> Option<T>[src]

Trait Implementations

impl<T> Default for Builder<T> where
    T: Default + Clone
[src]

impl LottieBuilderExt for Builder<Lottie>[src]

pub fn asset(&self, name: &str) -> &Builder<Lottie>[src]

Creates a widget that displays an LottieComposition obtained from an AssetBundle.

pub fn file(&self, file: File) -> &Builder<Lottie>[src]

Creates a widget that displays an LottieComposition obtained from a File.

pub fn memory(&self, byf: Bytes) -> &Builder<Lottie>[src]

Creates a widget that displays an LottieComposition obtained from a Uint8List.

pub fn network(&self, url: &str) -> &Builder<Lottie>[src]

Creates a widget that displays an LottieComposition obtained from the network.

Auto Trait Implementations

impl<T> !RefUnwindSafe for Builder<T>

impl<T> !Send for Builder<T>

impl<T> !Sync for Builder<T>

impl<T> Unpin for Builder<T>

impl<T> UnwindSafe for Builder<T> where
    T: RefUnwindSafe

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<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,