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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImtShapeOpts) -> bool
fn ne(&self, other: &ImtShapeOpts) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more