Struct freya::prelude::GestureAreaProps
source · 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§
source§impl<'a> GestureAreaProps<'a>
impl<'a> GestureAreaProps<'a>
Trait Implementations§
source§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.
source§fn builder() -> <GestureAreaProps<'a> as Properties>::Builder
fn builder() -> <GestureAreaProps<'a> as Properties>::Builder
Create a builder for this component.
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