Struct buffer_graphics_lib::text::Text
source · pub struct Text { /* private fields */ }
Implementations§
source§impl Text
impl Text
pub fn pos(&self) -> TextPos
pub fn formatting(&self) -> &TextFormat
sourcepub fn with_formatting<F: Into<TextFormat>>(&self, format: F) -> Self
pub fn with_formatting<F: Into<TextFormat>>(&self, format: F) -> Self
As text wrapping is calculated when the text object is created changing it as no effect