pub struct XrKeyframe {
pub percent: f32,
pub opacity: Option<f32>,
pub transform: Option<XrTransform>,
pub bg: Option<[f32; 4]>,
}Fields§
§percent: f32§opacity: Option<f32>§transform: Option<XrTransform>§bg: Option<[f32; 4]>Trait Implementations§
Source§impl Clone for XrKeyframe
impl Clone for XrKeyframe
Source§fn clone(&self) -> XrKeyframe
fn clone(&self) -> XrKeyframe
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 moreAuto Trait Implementations§
impl Freeze for XrKeyframe
impl RefUnwindSafe for XrKeyframe
impl Send for XrKeyframe
impl Sync for XrKeyframe
impl Unpin for XrKeyframe
impl UnsafeUnpin for XrKeyframe
impl UnwindSafe for XrKeyframe
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