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
sourceimpl Clone for ImtShapeOpts
impl Clone for ImtShapeOpts
sourcefn clone(&self) -> ImtShapeOpts
fn clone(&self) -> ImtShapeOpts
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ImtShapeOpts
impl Debug for ImtShapeOpts
sourceimpl Default for ImtShapeOpts
impl Default for ImtShapeOpts
sourceimpl PartialEq<ImtShapeOpts> for ImtShapeOpts
impl PartialEq<ImtShapeOpts> for ImtShapeOpts
sourcefn eq(&self, other: &ImtShapeOpts) -> bool
fn eq(&self, other: &ImtShapeOpts) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more