pub(crate) struct EdgeMetrics {
pub left_opos: i32,
pub left_pos: i32,
pub right_opos: i32,
pub right_pos: i32,
}
Expand description
Captures adjusted horizontal scale and outer edge positions to be used for horizontal metrics adjustments.
Fields§
§left_opos: i32
§left_pos: i32
§right_opos: i32
§right_pos: i32
Trait Implementations§
Source§impl Clone for EdgeMetrics
impl Clone for EdgeMetrics
Source§fn clone(&self) -> EdgeMetrics
fn clone(&self) -> EdgeMetrics
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 EdgeMetrics
impl Debug for EdgeMetrics
Source§impl Default for EdgeMetrics
impl Default for EdgeMetrics
Source§fn default() -> EdgeMetrics
fn default() -> EdgeMetrics
Returns the “default value” for a type. Read more
Source§impl PartialEq for EdgeMetrics
impl PartialEq for EdgeMetrics
impl Copy for EdgeMetrics
impl StructuralPartialEq for EdgeMetrics
Auto Trait Implementations§
impl Freeze for EdgeMetrics
impl RefUnwindSafe for EdgeMetrics
impl Send for EdgeMetrics
impl Sync for EdgeMetrics
impl Unpin for EdgeMetrics
impl UnwindSafe for EdgeMetrics
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