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: boolTrait Implementations§
Source§impl Clone for ImtShapeOpts
impl Clone for ImtShapeOpts
Source§fn clone(&self) -> ImtShapeOpts
fn clone(&self) -> ImtShapeOpts
Returns a duplicate 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
impl StructuralPartialEq for ImtShapeOpts
Auto Trait Implementations§
impl Freeze for ImtShapeOpts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more