Struct dessin::contrib::TextLayout
source · pub struct TextLayout { /* private fields */ }
Implementations§
source§impl TextLayout
impl TextLayout
source§impl TextLayout
impl TextLayout
pub const fn with_anchor(self, anchor: Vec2) -> Self
Trait Implementations§
source§impl Clone for TextLayout
impl Clone for TextLayout
source§fn clone(&self) -> TextLayout
fn clone(&self) -> TextLayout
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TextLayout
impl Debug for TextLayout
source§impl From<TextLayout> for Shape
impl From<TextLayout> for Shape
source§fn from(_: TextLayout) -> Self
fn from(_: TextLayout) -> Self
Converts to this type from the input type.
source§impl PartialEq<TextLayout> for TextLayout
impl PartialEq<TextLayout> for TextLayout
source§fn eq(&self, other: &TextLayout) -> bool
fn eq(&self, other: &TextLayout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.