pub struct DxfText {
pub at: Point2,
pub height: f64,
pub angle: f64,
pub text: String,
}Expand description
A line of text: where it sits, how tall, at what angle, and what it says.
Fields§
§at: Point2The start of its baseline (the first alignment point).
height: f64The height of its capitals.
angle: f64The baseline’s direction, radians counter-clockwise from x.
text: StringThe string, with \U+XXXX escapes read as the characters they name.
Trait Implementations§
impl StructuralPartialEq for DxfText
Auto Trait Implementations§
impl Freeze for DxfText
impl RefUnwindSafe for DxfText
impl Send for DxfText
impl Sync for DxfText
impl Unpin for DxfText
impl UnsafeUnpin for DxfText
impl UnwindSafe for DxfText
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.