pub struct LayerOffset {
pub offset: f64,
pub scale: f64,
}Expand description
Represents a time offset and scale between layers.
Fields§
§offset: f64§scale: f64Trait Implementations§
Source§impl Clone for LayerOffset
impl Clone for LayerOffset
Source§fn clone(&self) -> LayerOffset
fn clone(&self) -> LayerOffset
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 LayerOffset
impl Debug for LayerOffset
Source§impl Default for LayerOffset
impl Default for LayerOffset
Source§fn default() -> LayerOffset
fn default() -> LayerOffset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LayerOffset
impl RefUnwindSafe for LayerOffset
impl Send for LayerOffset
impl Sync for LayerOffset
impl Unpin for LayerOffset
impl UnsafeUnpin for LayerOffset
impl UnwindSafe for LayerOffset
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