[][src]Struct bevy_text::DrawableText

pub struct DrawableText<'a> {
    pub font: &'a Font,
    pub font_atlas_set: &'a FontAtlasSet,
    pub texture_atlases: &'a Assets<TextureAtlas>,
    pub render_resource_bindings: &'a mut RenderResourceBindings,
    pub asset_render_resource_bindings: &'a mut AssetRenderResourceBindings,
    pub position: Vec3,
    pub container_size: Vec2,
    pub style: &'a TextStyle,
    pub text: &'a str,
    pub msaa: &'a Msaa,
    pub font_quad_vertex_descriptor: &'a VertexBufferDescriptor,
}

Fields

font: &'a Fontfont_atlas_set: &'a FontAtlasSettexture_atlases: &'a Assets<TextureAtlas>render_resource_bindings: &'a mut RenderResourceBindingsasset_render_resource_bindings: &'a mut AssetRenderResourceBindingsposition: Vec3container_size: Vec2style: &'a TextStyletext: &'a strmsaa: &'a Msaafont_quad_vertex_descriptor: &'a VertexBufferDescriptor

Trait Implementations

impl<'a> Drawable for DrawableText<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for DrawableText<'a>

impl<'a> Send for DrawableText<'a>

impl<'a> Sync for DrawableText<'a>

impl<'a> Unpin for DrawableText<'a>

impl<'a> !UnwindSafe for DrawableText<'a>

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