Struct ruststep::ap201::explicit_draughting::TextLiteral [−][src]
pub struct TextLiteral {
pub geometric_representation_item: GeometricRepresentationItem,
pub literal: PresentableText,
pub placement: Axis2Placement,
pub alignment: TextAlignment,
pub path: TextPath,
pub font: FontSelect,
}
Fields
geometric_representation_item: GeometricRepresentationItem
literal: PresentableText
placement: Axis2Placement
alignment: TextAlignment
path: TextPath
font: FontSelect
Implementations
pub fn new(
geometric_representation_item: GeometricRepresentationItem,
literal: PresentableText,
placement: Axis2Placement,
alignment: TextAlignment,
path: TextPath,
font: FontSelect
) -> Self
pub fn new(
geometric_representation_item: GeometricRepresentationItem,
literal: PresentableText,
placement: Axis2Placement,
alignment: TextAlignment,
path: TextPath,
font: FontSelect
) -> Self
Constructs a new TextLiteral
.
Methods from Deref<Target = GeometricRepresentationItem>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
The resulting type after dereferencing.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TextLiteral
impl Send for TextLiteral
impl Sync for TextLiteral
impl Unpin for TextLiteral
impl UnwindSafe for TextLiteral
Blanket Implementations
Mutably borrows from an owned value. Read more