Struct freya::prelude::GestureAreaProps
pub struct GestureAreaProps<'a> {
pub children: Option<VNode<'a>>,
pub ongesture: EventHandler<'a, Gesture>,
}
Expand description
GestureArea
component properties.
Fields§
§children: Option<VNode<'a>>
Inner children for the GestureArea.
ongesture: EventHandler<'a, Gesture>
Handler for the ongesture
event.
Implementations§
§impl<'a> GestureAreaProps<'a>
impl<'a> GestureAreaProps<'a>
Trait Implementations§
§impl<'a> Properties for GestureAreaProps<'a>
impl<'a> Properties for GestureAreaProps<'a>
§type Builder = GestureAreaPropsBuilder<'a, ((), ())>
type Builder = GestureAreaPropsBuilder<'a, ((), ())>
The type of the builder for this component.
Used to create “in-progress” versions of the props.
§fn builder() -> <GestureAreaProps<'a> as Properties>::Builder
fn builder() -> <GestureAreaProps<'a> as Properties>::Builder
Create a builder for this component.
§unsafe fn memoize(&self, other: &GestureAreaProps<'a>) -> bool
unsafe fn memoize(&self, other: &GestureAreaProps<'a>) -> bool
Memoization can only happen if the props are valid for the ’static lifetime Read more
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GestureAreaProps<'a>
impl<'a> !Send for GestureAreaProps<'a>
impl<'a> !Sync for GestureAreaProps<'a>
impl<'a> Unpin for GestureAreaProps<'a>
impl<'a> !UnwindSafe for GestureAreaProps<'a>
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