[][src]Struct rg3d_ui::formatted_text::FormattedText

pub struct FormattedText { /* fields omitted */ }

Implementations

impl FormattedText[src]

pub fn get_glyphs(&self) -> &[TextGlyph][src]

pub fn get_font(&self) -> Option<SharedFont>[src]

pub fn set_font(&mut self, font: SharedFont) -> &mut Self[src]

pub fn get_lines(&self) -> &[TextLine][src]

pub fn set_vertical_alignment(
    &mut self,
    vertical_alignment: VerticalAlignment
) -> &mut Self
[src]

pub fn vertical_alignment(&self) -> VerticalAlignment[src]

pub fn set_horizontal_alignment(
    &mut self,
    horizontal_alignment: HorizontalAlignment
) -> &mut Self
[src]

pub fn horizontal_alignment(&self) -> HorizontalAlignment[src]

pub fn set_brush(&mut self, brush: Brush) -> &mut Self[src]

pub fn brush(&self) -> Brush[src]

pub fn set_constraint(&mut self, constraint: Vector2<f32>) -> &mut Self[src]

pub fn get_raw_text(&self) -> &[u32][src]

pub fn text(&self) -> String[src]

pub fn get_range_width<T: IntoIterator<Item = usize>>(&self, range: T) -> f32[src]

pub fn set_text<P: AsRef<str>>(&mut self, text: P) -> &mut Self[src]

pub fn set_wrap(&mut self, wrap: bool) -> &mut Self[src]

pub fn is_wrap(&self) -> bool[src]

pub fn insert_char(&mut self, c: char, index: usize) -> &mut Self[src]

pub fn remove_range(&mut self, range: Range<usize>) -> &mut Self[src]

pub fn remove_at(&mut self, index: usize) -> &mut Self[src]

pub fn build(&mut self) -> Vector2<f32>[src]

Trait Implementations

impl Clone for FormattedText[src]

impl Debug for FormattedText[src]

Auto Trait Implementations

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> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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