pub enum AxisValue {
Value1 {
axis_index: u16,
flags: u16,
value_name_id: u16,
value: Fixed,
},
Range {
axis_index: u16,
flags: u16,
value_name_id: u16,
nominal_min: Fixed,
nominal: Fixed,
nominal_max: Fixed,
},
Linked {
axis_index: u16,
flags: u16,
value_name_id: u16,
value: Fixed,
linked_value: Fixed,
},
Style {
flags: u16,
value_name_id: u16,
values: Vec<(u16, Fixed)>,
},
}Expand description
A decoded axis-value table (formats 1-4).
Variants§
Value1
Format 1 — one value along one axis.
Fields
Range
Format 2 — a value with an inclusive range.
Fields
Linked
Format 3 — a value with a linked “style-on” partner.
Fields
Style
Format 4 — a named style across multiple axes.
Implementations§
Trait Implementations§
impl Eq for AxisValue
impl StructuralPartialEq for AxisValue
Auto Trait Implementations§
impl Freeze for AxisValue
impl RefUnwindSafe for AxisValue
impl Send for AxisValue
impl Sync for AxisValue
impl Unpin for AxisValue
impl UnsafeUnpin for AxisValue
impl UnwindSafe for AxisValue
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