Struct bevy_core::Labels[][src]

pub struct Labels { /* fields omitted */ }

A collection of labels

Implementations

impl Labels[src]

pub fn contains<T: Into<Cow<'static, str>>>(&self, label: T) -> bool[src]

pub fn insert<T: Into<Cow<'static, str>>>(&mut self, label: T)[src]

pub fn remove<T: Into<Cow<'static, str>>>(&mut self, label: T)[src]

pub fn iter(&self) -> impl Iterator<Item = &str>[src]

Trait Implementations

impl Debug for Labels[src]

impl Default for Labels[src]

impl<'a, T, L: Into<Cow<'static, str>>> From<T> for Labels where
    T: IntoIterator<Item = L>, 
[src]

impl GetTypeRegistration for Labels[src]

impl Reflect for Labels[src]

impl Struct for Labels[src]

Auto Trait Implementations

impl RefUnwindSafe for Labels

impl Send for Labels

impl Sync for Labels

impl Unpin for Labels

impl UnwindSafe for Labels

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> Component for T where
    T: 'static + Send + Sync
[src]

impl<T> Downcast for T where
    T: Any

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

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

impl<T> FromWorld for T where
    T: Default
[src]

impl<S> GetField for S where
    S: Struct
[src]

impl<T> GetPath for T where
    T: Reflect
[src]

impl<T> Instrument 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.

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