#[non_exhaustive]pub enum ScrollEdge {
Top,
Bottom,
}Expand description
The edge of a scroll view a view floating over it sits at
(ios={{ scrollEdgeElement }}).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ScrollEdge
impl Clone for ScrollEdge
impl Copy for ScrollEdge
Source§impl Debug for ScrollEdge
impl Debug for ScrollEdge
Source§impl Default for ScrollEdge
impl Default for ScrollEdge
impl Eq for ScrollEdge
Source§impl HostValue for ScrollEdge
impl HostValue for ScrollEdge
Source§impl JsValue for ScrollEdge
impl JsValue for ScrollEdge
Source§impl PartialEq for ScrollEdge
impl PartialEq for ScrollEdge
Source§impl PropEnum for ScrollEdge
impl PropEnum for ScrollEdge
impl StructuralPartialEq for ScrollEdge
Auto Trait Implementations§
impl Forget for ScrollEdge
impl Freeze for ScrollEdge
impl Move for ScrollEdge
impl RefUnwindSafe for ScrollEdge
impl Send for ScrollEdge
impl Sync for ScrollEdge
impl Unpin for ScrollEdge
impl UnsafeUnpin for ScrollEdge
impl UnwindSafe for ScrollEdge
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.