pub struct Adjust {
pub x_placement: i16,
pub y_placement: i16,
pub x_advance: i16,
pub y_advance: i16,
pub x_placement_variation: Option<DeltaSetIndexMapEntry>,
pub y_placement_variation: Option<DeltaSetIndexMapEntry>,
pub x_advance_variation: Option<DeltaSetIndexMapEntry>,
pub y_advance_variation: Option<DeltaSetIndexMapEntry>,
}Fields§
§x_placement: i16§y_placement: i16§x_advance: i16§y_advance: i16§x_placement_variation: Option<DeltaSetIndexMapEntry>§y_placement_variation: Option<DeltaSetIndexMapEntry>§x_advance_variation: Option<DeltaSetIndexMapEntry>§y_advance_variation: Option<DeltaSetIndexMapEntry>Implementations§
Source§impl Adjust
impl Adjust
pub fn x_advance_delta( &self, tuple: Option<Tuple<'_>>, variation_store: Option<&ItemVariationStore>, ) -> f32
pub fn y_advance_delta( &self, tuple: Option<Tuple<'_>>, variation_store: Option<&ItemVariationStore>, ) -> f32
pub fn x_placement_delta( &self, tuple: Option<Tuple<'_>>, variation_store: Option<&ItemVariationStore>, ) -> f32
pub fn y_placement_delta( &self, tuple: Option<Tuple<'_>>, variation_store: Option<&ItemVariationStore>, ) -> f32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Adjust
impl RefUnwindSafe for Adjust
impl Send for Adjust
impl Sync for Adjust
impl Unpin for Adjust
impl UnwindSafe for Adjust
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more