Struct ilmenite::shape::ImtShapeOpts [−][src]
pub struct ImtShapeOpts {
pub body_width: f32,
pub body_height: f32,
pub text_height: f32,
pub line_spacing: f32,
pub text_wrap: ImtTextWrap,
pub vert_align: ImtVertAlign,
pub hori_align: ImtHoriAlign,
pub align_whole_pixels: bool,
}
Fields
body_width: f32
body_height: f32
text_height: f32
line_spacing: f32
text_wrap: ImtTextWrap
vert_align: ImtVertAlign
hori_align: ImtHoriAlign
align_whole_pixels: bool
Trait Implementations
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 ImtShapeOpts
impl Send for ImtShapeOpts
impl Sync for ImtShapeOpts
impl Unpin for ImtShapeOpts
impl UnwindSafe for ImtShapeOpts
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.