pub struct ElementTarget(/* private fields */);Expand description
An element another one names for assistive technologies
(crate::AccessibilityProp::ActiveDescendant,
crate::AccessibilityProp::Controls,
crate::AccessibilityProp::DescribedBy) or as the scroll view it
floats over (ScrollEdgeTarget): a node JS passes (a ref),
or whatever element carries a Rust ElementRef, looked up as the
core commits, so the element may be rendered after the one naming it
(a list’s row made as the list lays out).
Trait Implementations§
Source§impl Clone for ElementTarget
impl Clone for ElementTarget
Source§impl Debug for ElementTarget
impl Debug for ElementTarget
Source§impl JsValue for ElementTarget
ViewRef: a node JS passes (a ref), as a component’s prop that names
an element.
impl JsValue for ElementTarget
ViewRef: a node JS passes (a ref), as a component’s prop that names
an element.
Source§impl PartialEq for ElementTarget
impl PartialEq for ElementTarget
impl StructuralPartialEq for ElementTarget
Auto Trait Implementations§
impl !RefUnwindSafe for ElementTarget
impl !Send for ElementTarget
impl !Sync for ElementTarget
impl !UnwindSafe for ElementTarget
impl Forget for ElementTarget
impl Freeze for ElementTarget
impl Move for ElementTarget
impl Unpin for ElementTarget
impl UnsafeUnpin for ElementTarget
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.