pub struct AppendTransformInit {
pub target_bone: BoneIndex,
pub source_bone: BoneIndex,
pub ratio: f32,
pub affect_rotation: bool,
pub affect_translation: bool,
pub local: bool,
}Fields§
§target_bone: BoneIndex§source_bone: BoneIndex§ratio: f32§affect_rotation: bool§affect_translation: bool§local: boolImplementations§
Source§impl AppendTransformInit
impl AppendTransformInit
pub fn new(target_bone: BoneIndex, source_bone: BoneIndex, ratio: f32) -> Self
pub fn with_rotation(self) -> Self
pub fn with_translation(self) -> Self
pub fn with_local(self) -> Self
Trait Implementations§
Source§impl Clone for AppendTransformInit
impl Clone for AppendTransformInit
Source§fn clone(&self) -> AppendTransformInit
fn clone(&self) -> AppendTransformInit
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 AppendTransformInit
impl Debug for AppendTransformInit
Source§impl PartialEq for AppendTransformInit
impl PartialEq for AppendTransformInit
Source§fn eq(&self, other: &AppendTransformInit) -> bool
fn eq(&self, other: &AppendTransformInit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AppendTransformInit
Auto Trait Implementations§
impl Freeze for AppendTransformInit
impl RefUnwindSafe for AppendTransformInit
impl Send for AppendTransformInit
impl Sync for AppendTransformInit
impl Unpin for AppendTransformInit
impl UnsafeUnpin for AppendTransformInit
impl UnwindSafe for AppendTransformInit
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