Struct kira::instance::ResumeInstanceSettings [−][src]
pub struct ResumeInstanceSettings { pub fade_tween: Option<Tween>, pub rewind_to_pause_position: bool, }
Expand description
Settings for resuming an instance.
Fields
fade_tween: Option<Tween>
Whether to fade in the instance from silence, and if so, the tween to use.
rewind_to_pause_position: bool
Whether to seek the instance backwards to the playback position it was at when it was paused.
Implementations
impl ResumeInstanceSettings
[src]
impl ResumeInstanceSettings
[src]pub fn fade_tween<T: Into<Option<Tween>>>(self, tween: T) -> Self
[src]
pub fn fade_tween<T: Into<Option<Tween>>>(self, tween: T) -> Self
[src]Sets the fade-in tween to use.
pub fn rewind_to_pause_position(self) -> Self
[src]
pub fn rewind_to_pause_position(self) -> Self
[src]Sets whether to seek the instance backwards to the playback position it was at when it was paused.
Trait Implementations
impl Clone for ResumeInstanceSettings
[src]
impl Clone for ResumeInstanceSettings
[src]fn clone(&self) -> ResumeInstanceSettings
[src]
fn clone(&self) -> ResumeInstanceSettings
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ResumeInstanceSettings
[src]
impl Debug for ResumeInstanceSettings
[src]impl Default for ResumeInstanceSettings
[src]
impl Default for ResumeInstanceSettings
[src]impl Copy for ResumeInstanceSettings
[src]
Auto Trait Implementations
impl RefUnwindSafe for ResumeInstanceSettings
impl Send for ResumeInstanceSettings
impl Sync for ResumeInstanceSettings
impl Unpin for ResumeInstanceSettings
impl UnwindSafe for ResumeInstanceSettings
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,