pub enum SnapAlignment {
Start,
Center,
End,
}Expand description
Which point of a page a snapping scroll view aligns to its start.
Variants§
Trait Implementations§
Source§impl Clone for SnapAlignment
impl Clone for SnapAlignment
impl Copy for SnapAlignment
Source§impl Debug for SnapAlignment
impl Debug for SnapAlignment
Source§impl Default for SnapAlignment
impl Default for SnapAlignment
impl Eq for SnapAlignment
Source§impl HostValue for SnapAlignment
impl HostValue for SnapAlignment
Source§impl IntoReactive<SnapAlignment> for SnapAlignment
impl IntoReactive<SnapAlignment> for SnapAlignment
Source§fn into_reactive(self) -> Reactive<SnapAlignment>
fn into_reactive(self) -> Reactive<SnapAlignment>
As a
Reactive.Source§impl JsValue for SnapAlignment
impl JsValue for SnapAlignment
Source§impl PartialEq for SnapAlignment
impl PartialEq for SnapAlignment
Source§impl PropEnum for SnapAlignment
impl PropEnum for SnapAlignment
impl StructuralPartialEq for SnapAlignment
Auto Trait Implementations§
impl Forget for SnapAlignment
impl Freeze for SnapAlignment
impl Move for SnapAlignment
impl RefUnwindSafe for SnapAlignment
impl Send for SnapAlignment
impl Sync for SnapAlignment
impl Unpin for SnapAlignment
impl UnsafeUnpin for SnapAlignment
impl UnwindSafe for SnapAlignment
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.