pub struct Easing<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> Easing<'a>
impl<'a> Easing<'a>
pub const VT_EASING_TYPE: VOffsetT = 4
pub const VT_X1: VOffsetT = 6
pub const VT_Y1: VOffsetT = 8
pub const VT_X2: VOffsetT = 10
pub const VT_Y2: VOffsetT = 12
pub const VT_STIFFNESS: VOffsetT = 14
pub const VT_DAMPING: VOffsetT = 16
pub const VT_MASS: VOffsetT = 18
pub const VT_STEPS: VOffsetT = 20
pub const VT_POINTS: VOffsetT = 22
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args EasingArgs<'args>, ) -> WIPOffset<Easing<'bldr>>
pub fn easing_type(&self) -> EasingType
pub fn x1(&self) -> f32
pub fn y1(&self) -> f32
pub fn x2(&self) -> f32
pub fn y2(&self) -> f32
pub fn stiffness(&self) -> f32
pub fn damping(&self) -> f32
pub fn mass(&self) -> f32
pub fn steps(&self) -> i32
pub fn points(&self) -> Option<Vector<'a, f32>>
Trait Implementations§
Source§impl Verifiable for Easing<'_>
impl Verifiable for Easing<'_>
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for Easing<'a>
impl<'a> StructuralPartialEq for Easing<'a>
Auto Trait Implementations§
impl<'a> Freeze for Easing<'a>
impl<'a> RefUnwindSafe for Easing<'a>
impl<'a> Send for Easing<'a>
impl<'a> Sync for Easing<'a>
impl<'a> Unpin for Easing<'a>
impl<'a> UnsafeUnpin for Easing<'a>
impl<'a> UnwindSafe for Easing<'a>
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