Struct flo_canvas::FontLinePosition
source · pub struct FontLinePosition {
pub offset: f32,
pub thickness: f32,
}
Expand description
Describes where to position a line relative to some text
Fields§
§offset: f32
§thickness: f32
Trait Implementations§
source§impl Clone for FontLinePosition
impl Clone for FontLinePosition
source§fn clone(&self) -> FontLinePosition
fn clone(&self) -> FontLinePosition
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 PartialEq<FontLinePosition> for FontLinePosition
impl PartialEq<FontLinePosition> for FontLinePosition
source§fn eq(&self, other: &FontLinePosition) -> bool
fn eq(&self, other: &FontLinePosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.