Struct usvg_tree::CharacterPosition
source · pub struct CharacterPosition {
pub x: Option<f64>,
pub y: Option<f64>,
pub dx: Option<f64>,
pub dy: Option<f64>,
}
Expand description
A text character position.
Character is a Unicode codepoint.
Fields§
§x: Option<f64>
An absolute X axis position.
y: Option<f64>
An absolute Y axis position.
dx: Option<f64>
A relative X axis offset.
dy: Option<f64>
A relative Y axis offset.
Trait Implementations§
source§impl Clone for CharacterPosition
impl Clone for CharacterPosition
source§fn clone(&self) -> CharacterPosition
fn clone(&self) -> CharacterPosition
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 more