[][src]Struct bevy_ninepatch::NinePatchComponents

pub struct NinePatchComponents<T: Clone + Send + Sync + 'static> {
    pub style: Style,
    pub nine_patch_data: NinePatchData<T>,
    pub nine_patch_size: NinePatchSize,
    pub node: Node,
    pub transform: Transform,
    pub global_transform: GlobalTransform,
}

Component Bundle to place the NinePatch

Fields

style: Style

Style of this UI node

nine_patch_data: NinePatchData<T>

State of the NinePatch

nine_patch_size: NinePatchSize

Size of the NinePatch

node: Node

UI node

transform: Transform

Transform

global_transform: GlobalTransform

Global transform - should be set automatically by bevy's systems

Trait Implementations

impl<T: Clone + Send + Sync + 'static> Bundle for NinePatchComponents<T>[src]

impl<T: Clone + Send + Sync + 'static> Default for NinePatchComponents<T>[src]

impl<T: Clone + Send + Sync + 'static> DynamicBundle for NinePatchComponents<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for NinePatchComponents<T> where
    T: RefUnwindSafe

impl<T> Send for NinePatchComponents<T>

impl<T> Sync for NinePatchComponents<T>

impl<T> Unpin for NinePatchComponents<T> where
    T: Unpin

impl<T> UnwindSafe for NinePatchComponents<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

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

impl<T> FromResources for T where
    T: Default

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

impl<T> Resource for T where
    T: 'static + Send + Sync

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>,