pub struct SegmentMap {
pub pairs: Vec<(F2Dot14, F2Dot14)>,
}Expand description
One axis segment map: sorted (from, to) normalization pairs.
Fields§
§pairs: Vec<(F2Dot14, F2Dot14)>Breakpoint pairs, ascending by from.
Implementations§
Trait Implementations§
Source§impl Clone for SegmentMap
impl Clone for SegmentMap
Source§impl Debug for SegmentMap
impl Debug for SegmentMap
impl Eq for SegmentMap
Source§impl PartialEq for SegmentMap
impl PartialEq for SegmentMap
impl StructuralPartialEq for SegmentMap
Auto Trait Implementations§
impl Freeze for SegmentMap
impl RefUnwindSafe for SegmentMap
impl Send for SegmentMap
impl Sync for SegmentMap
impl Unpin for SegmentMap
impl UnsafeUnpin for SegmentMap
impl UnwindSafe for SegmentMap
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