Struct tfm::pl::CharDimensions
source · pub struct CharDimensions {
pub width: Option<Number>,
pub height: Option<Number>,
pub depth: Option<Number>,
pub italic_correction: Option<Number>,
}
Expand description
Data about one character in a .pl file.
Fields§
§width: Option<Number>
§height: Option<Number>
§depth: Option<Number>
§italic_correction: Option<Number>
Trait Implementations§
source§impl Clone for CharDimensions
impl Clone for CharDimensions
source§fn clone(&self) -> CharDimensions
fn clone(&self) -> CharDimensions
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 CharDimensions
impl Debug for CharDimensions
source§impl Default for CharDimensions
impl Default for CharDimensions
source§fn default() -> CharDimensions
fn default() -> CharDimensions
Returns the “default value” for a type. Read more
source§impl PartialEq<CharDimensions> for CharDimensions
impl PartialEq<CharDimensions> for CharDimensions
source§fn eq(&self, other: &CharDimensions) -> bool
fn eq(&self, other: &CharDimensions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CharDimensions
impl StructuralEq for CharDimensions
impl StructuralPartialEq for CharDimensions
Auto Trait Implementations§
impl RefUnwindSafe for CharDimensions
impl Send for CharDimensions
impl Sync for CharDimensions
impl Unpin for CharDimensions
impl UnwindSafe for CharDimensions
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