Struct embedded_text::TextBoxProperties [−][src]
pub struct TextBoxProperties<'a, S> {
pub box_style: &'a TextBoxStyle,
pub char_style: &'a S,
pub text_height: i32,
pub bounding_box: Rectangle,
}Expand description
Text box properties.
This struct holds information about the text box.
Fields
box_style: &'a TextBoxStyleThe used text box style.
char_style: &'a SThe character style.
text_height: i32The height of the text.
bounding_box: RectangleThe bounds of the text box.
Trait Implementations
Auto Trait Implementations
impl<'a, S> RefUnwindSafe for TextBoxProperties<'a, S> where
S: RefUnwindSafe,
impl<'a, S> Send for TextBoxProperties<'a, S> where
S: Sync,
impl<'a, S> Sync for TextBoxProperties<'a, S> where
S: Sync,
impl<'a, S> Unpin for TextBoxProperties<'a, S>
impl<'a, S> UnwindSafe for TextBoxProperties<'a, S> where
S: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
type Output = T
type Output = T
Should always be Self
Casts the value.
Casts the value.
Casts the value.