Struct ilmenite::shape::ImtShapeOpts
source · 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§
source§impl Clone for ImtShapeOpts
impl Clone for ImtShapeOpts
source§fn clone(&self) -> ImtShapeOpts
fn clone(&self) -> ImtShapeOpts
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 Debug for ImtShapeOpts
impl Debug for ImtShapeOpts
source§impl Default for ImtShapeOpts
impl Default for ImtShapeOpts
source§impl PartialEq for ImtShapeOpts
impl PartialEq for ImtShapeOpts
source§fn eq(&self, other: &ImtShapeOpts) -> bool
fn eq(&self, other: &ImtShapeOpts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImtShapeOpts
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§
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