Struct oxygengine_animation::spline::SplinePoint
source · [−]pub struct SplinePoint<T>where
T: Curved,{
pub point: T,
pub direction: SplinePointDirection<T>,
}
Fields
point: T
direction: SplinePointDirection<T>
Implementations
sourceimpl<T> SplinePoint<T>where
T: Curved,
impl<T> SplinePoint<T>where
T: Curved,
pub fn point(point: T) -> Self
pub fn new(point: T, direction: SplinePointDirection<T>) -> Self
Trait Implementations
sourceimpl<T: Clone> Clone for SplinePoint<T>where
T: Curved,
impl<T: Clone> Clone for SplinePoint<T>where
T: Curved,
sourcefn clone(&self) -> SplinePoint<T>
fn clone(&self) -> SplinePoint<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<T: Debug> Debug for SplinePoint<T>where
T: Curved,
impl<T: Debug> Debug for SplinePoint<T>where
T: Curved,
sourceimpl<T: Default> Default for SplinePoint<T>where
T: Curved,
impl<T: Default> Default for SplinePoint<T>where
T: Curved,
sourcefn default() -> SplinePoint<T>
fn default() -> SplinePoint<T>
Returns the “default value” for a type. Read more
sourceimpl<'de, T> Deserialize<'de> for SplinePoint<T>where
T: Curved,
T: Deserialize<'de>,
T: Default,
impl<'de, T> Deserialize<'de> for SplinePoint<T>where
T: Curved,
T: Deserialize<'de>,
T: Default,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<T> From<(T, T, T)> for SplinePoint<T>where
T: Curved,
impl<T> From<(T, T, T)> for SplinePoint<T>where
T: Curved,
sourceimpl<T> From<(T, T)> for SplinePoint<T>where
T: Curved,
impl<T> From<(T, T)> for SplinePoint<T>where
T: Curved,
sourceimpl<T> From<T> for SplinePoint<T>where
T: Curved,
impl<T> From<T> for SplinePoint<T>where
T: Curved,
Auto Trait Implementations
impl<T> RefUnwindSafe for SplinePoint<T>where
T: RefUnwindSafe,
impl<T> Send for SplinePoint<T>where
T: Send,
impl<T> Sync for SplinePoint<T>where
T: Sync,
impl<T> Unpin for SplinePoint<T>where
T: Unpin,
impl<T> UnwindSafe for SplinePoint<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more