pub enum ScreenAnimation {
Default,
Fade,
None,
}Expand description
How a screen enters and leaves (animation).
Variants§
Default
The platform’s push / pop transition ("slide" too: a
dialog’s default, which shares the prop).
Fade
Cross-fade.
None
No animation.
Trait Implementations§
Source§impl Clone for ScreenAnimation
impl Clone for ScreenAnimation
impl Copy for ScreenAnimation
Source§impl Debug for ScreenAnimation
impl Debug for ScreenAnimation
Source§impl Default for ScreenAnimation
impl Default for ScreenAnimation
impl Eq for ScreenAnimation
Source§impl HostValue for ScreenAnimation
impl HostValue for ScreenAnimation
Source§impl IntoReactive<ScreenAnimation> for ScreenAnimation
impl IntoReactive<ScreenAnimation> for ScreenAnimation
Source§fn into_reactive(self) -> Reactive<ScreenAnimation>
fn into_reactive(self) -> Reactive<ScreenAnimation>
As a
Reactive.Source§impl JsValue for ScreenAnimation
impl JsValue for ScreenAnimation
Source§impl PartialEq for ScreenAnimation
impl PartialEq for ScreenAnimation
Source§impl PropEnum for ScreenAnimation
impl PropEnum for ScreenAnimation
impl StructuralPartialEq for ScreenAnimation
Auto Trait Implementations§
impl Forget for ScreenAnimation
impl Freeze for ScreenAnimation
impl Move for ScreenAnimation
impl RefUnwindSafe for ScreenAnimation
impl Send for ScreenAnimation
impl Sync for ScreenAnimation
impl Unpin for ScreenAnimation
impl UnsafeUnpin for ScreenAnimation
impl UnwindSafe for ScreenAnimation
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
Source§impl<T> CallbackArgs for Twhere
T: Ret,
impl<T> CallbackArgs for Twhere
T: Ret,
Source§fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
Its TypeScript parameters, named
names (name: string, amount: number), or without names value for one and a, b, … for
several.Source§fn into_js_args<'a>(
self,
host: &'a dyn JsHost,
) -> Result<Vec<JsOwned<'a>>, PropError>
fn into_js_args<'a>( self, host: &'a dyn JsHost, ) -> Result<Vec<JsOwned<'a>>, PropError>
The arguments as JS values.