Struct magick_rust::bindings::_TypeMetric
source · #[repr(C)]pub struct _TypeMetric {
pub pixels_per_em: PointInfo,
pub ascent: f64,
pub descent: f64,
pub width: f64,
pub height: f64,
pub max_advance: f64,
pub underline_position: f64,
pub underline_thickness: f64,
pub bounds: SegmentInfo,
pub origin: PointInfo,
}
Fields§
§pixels_per_em: PointInfo
§ascent: f64
§descent: f64
§width: f64
§height: f64
§max_advance: f64
§underline_position: f64
§underline_thickness: f64
§bounds: SegmentInfo
§origin: PointInfo
Trait Implementations§
source§impl Clone for _TypeMetric
impl Clone for _TypeMetric
source§fn clone(&self) -> _TypeMetric
fn clone(&self) -> _TypeMetric
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 _TypeMetric
impl Debug for _TypeMetric
source§impl PartialEq for _TypeMetric
impl PartialEq for _TypeMetric
source§fn eq(&self, other: &_TypeMetric) -> bool
fn eq(&self, other: &_TypeMetric) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _TypeMetric
impl StructuralPartialEq for _TypeMetric
Auto Trait Implementations§
impl Freeze for _TypeMetric
impl RefUnwindSafe for _TypeMetric
impl Send for _TypeMetric
impl Sync for _TypeMetric
impl Unpin for _TypeMetric
impl UnwindSafe for _TypeMetric
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)