pub struct SwayVertex {
pub pivot: [f32; 3],
pub level: f32,
pub stiffness: f32,
}Fields§
§pivot: [f32; 3]§level: f32§stiffness: f32Trait Implementations§
Source§impl Clone for SwayVertex
impl Clone for SwayVertex
Source§fn clone(&self) -> SwayVertex
fn clone(&self) -> SwayVertex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SwayVertex
impl Debug for SwayVertex
Source§impl PartialEq for SwayVertex
impl PartialEq for SwayVertex
Source§fn eq(&self, other: &SwayVertex) -> bool
fn eq(&self, other: &SwayVertex) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SwayVertex
impl StructuralPartialEq for SwayVertex
Auto Trait Implementations§
impl Freeze for SwayVertex
impl RefUnwindSafe for SwayVertex
impl Send for SwayVertex
impl Sync for SwayVertex
impl Unpin for SwayVertex
impl UnsafeUnpin for SwayVertex
impl UnwindSafe for SwayVertex
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