pub struct Live<T> { /* private fields */ }Implementations§
Source§impl<T: Clone + PartialEq + 'static> Live<T>
impl<T: Clone + PartialEq + 'static> Live<T>
pub fn fixed(value: T) -> Self
pub fn of_signal(signal: Signal<T>) -> Self
pub fn of_memo(memo: Memo<T>) -> Self
pub fn derived(f: impl Fn() -> T + 'static) -> Self
pub fn animate(self, spec: impl Into<AnimSpec>) -> Self
pub fn spring(self, spec: SpringSpec) -> Self
pub fn animate_mut(&mut self, spec: impl Into<AnimSpec>)
pub fn spring_mut(&mut self, spec: SpringSpec)
pub fn tween_spec(&self) -> Option<AnimSpec>
pub fn spring_spec(&self) -> Option<SpringSpec>
pub fn is_animated(&self) -> bool
pub fn target(&self) -> T
pub fn target_untracked(&self) -> Twhere
T: Clone,
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Live<T>
impl<T> !Send for Live<T>
impl<T> !Sync for Live<T>
impl<T> !UnwindSafe for Live<T>
impl<T> Freeze for Live<T>where
Source<T>: Freeze,
impl<T> Unpin for Live<T>where
Source<T>: Unpin,
impl<T> UnsafeUnpin for Live<T>where
Source<T>: UnsafeUnpin,
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