[−][src]Struct arwa::html::HtmlBaseElement
Methods
impl HtmlBaseElement
[src]
pub fn href(&self) -> String
[src]
pub fn set_href(&self, href: &str)
[src]
pub fn target(&self) -> String
[src]
pub fn set_target(&self, target: &str)
[src]
Trait Implementations
impl AsRef<Element> for HtmlBaseElement
[src]
impl AsRef<EventTarget> for HtmlBaseElement
[src]
fn as_ref(&self) -> &EventTarget
[src]
impl AsRef<HtmlBaseElement> for HtmlBaseElement
[src]
fn as_ref(&self) -> &HtmlBaseElement
[src]
impl AsRef<HtmlElement> for HtmlBaseElement
[src]
fn as_ref(&self) -> &HtmlElement
[src]
impl AsRef<Node> for HtmlBaseElement
[src]
impl Clone for HtmlBaseElement
[src]
fn clone(&self) -> HtmlBaseElement
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Element for HtmlBaseElement
[src]
fn matches(&self, selector: &str) -> Result<bool, SyntaxError>
[src]
fn query_selector_first(
&self,
selector: &str
) -> Result<Option<GenericElement>, SyntaxError>
[src]
&self,
selector: &str
) -> Result<Option<GenericElement>, SyntaxError>
fn query_selector_all(
&self,
selector: &str
) -> Result<QuerySelectorAll, SyntaxError>
[src]
&self,
selector: &str
) -> Result<QuerySelectorAll, SyntaxError>
fn closest(&self, selector: &str) -> Result<Option<GenericElement>, SyntaxError>
[src]
fn set_pointer_capture(
&self,
pointer_id: PointerId
) -> Result<(), InvalidPointerId>
[src]
&self,
pointer_id: PointerId
) -> Result<(), InvalidPointerId>
fn has_pointer_capture(&self, pointer_id: PointerId) -> bool
[src]
fn release_pointer_capture(
&self,
pointer_id: PointerId
) -> Result<(), InvalidPointerId>
[src]
&self,
pointer_id: PointerId
) -> Result<(), InvalidPointerId>
fn bounding_client_rect(&self) -> ClientRect
[src]
fn client_rects(&self) -> ClientRects
[src]
fn attributes(&self) -> Attributes
[src]
fn classes(&self) -> Classes
[src]
fn set_classes(&self, classes: &str)
[src]
fn disconnect(&self)
[src]
fn previous_sibling_element(&self) -> Option<GenericElement>
[src]
fn next_sibling_element(&self) -> Option<GenericElement>
[src]
fn child_elements(&self) -> ChildElements
[src]
fn tag_name(&self) -> String
[src]
fn namespace_uri(&self) -> Option<String>
[src]
fn local_name(&self) -> String
[src]
fn prefix(&self) -> Option<String>
[src]
fn client_width(&self) -> i32
[src]
fn client_height(&self) -> i32
[src]
fn client_top(&self) -> i32
[src]
fn client_left(&self) -> i32
[src]
fn id(&self) -> String
[src]
fn set_id(&self, id: &str)
[src]
fn slot(&self) -> String
[src]
fn set_slot(&self, slot: &str)
[src]
fn inner_html(&self) -> String
[src]
fn set_inner_html(&self, html: &str)
[src]
fn outer_html(&self) -> String
[src]
fn set_outer_html(&self, html: &str)
[src]
fn replace_with<T>(&self, replacement: &T) where
T: ElementReplacement,
Self: Sized,
[src]
T: ElementReplacement,
Self: Sized,
fn scroll_left(&self) -> i32
[src]
fn scroll_top(&self) -> i32
[src]
fn scroll_width(&self) -> i32
[src]
fn scroll_height(&self) -> i32
[src]
fn scroll_to(&self, options: ScrollToOptions)
[src]
fn scroll_by(&self, options: ScrollByOptions)
[src]
fn scroll_into_view(&self, options: ScrollIntoViewOptions)
[src]
impl From<HtmlBaseElement> for HtmlBaseElement
[src]
fn from(inner: HtmlBaseElement) -> Self
[src]
impl From<HtmlBaseElement> for GenericHtmlElement
[src]
fn from(element: HtmlBaseElement) -> Self
[src]
impl From<HtmlBaseElement> for GenericElement
[src]
fn from(element: HtmlBaseElement) -> Self
[src]
impl From<HtmlBaseElement> for GenericNode
[src]
fn from(element: HtmlBaseElement) -> Self
[src]
impl GlobalEventHandlers for HtmlBaseElement
[src]
fn on_blur(&self) -> OnBlur
[src]
fn on_focus(&self) -> OnFocus
[src]
fn on_change(&self) -> OnChange
[src]
fn on_click(&self) -> OnClick
[src]
fn on_context_menu(&self) -> OnContextMenu
[src]
fn on_double_click(&self) -> OnDoubleClick
[src]
fn on_drag(&self) -> OnDrag
[src]
fn on_drag_end(&self) -> OnDragEnd
[src]
fn on_drag_enter(&self) -> OnDragEnter
[src]
fn on_drag_leave(&self) -> OnDragLeave
[src]
fn on_drag_over(&self) -> OnDragOver
[src]
fn on_drag_start(&self) -> OnDragStart
[src]
fn on_drop(&self) -> OnDrop
[src]
fn on_input(&self) -> OnInput
[src]
fn on_invalid(&self) -> OnInvalid
[src]
fn on_key_down(&self) -> OnKeyDown
[src]
fn on_key_up(&self) -> OnKeyUp
[src]
fn on_load(&self) -> OnLoad
[src]
fn on_load_start(&self) -> OnLoadStart
[src]
fn on_load_end(&self) -> OnLoadEnd
[src]
fn on_progress(&self) -> OnProgress
[src]
fn on_mouse_down(&self) -> OnMouseDown
[src]
fn on_mouse_enter(&self) -> OnMouseEnter
[src]
fn on_mouse_leave(&self) -> OnMouseLeave
[src]
fn on_mouse_move(&self) -> OnMouseMove
[src]
fn on_mouse_out(&self) -> OnMouseOut
[src]
fn on_mouse_over(&self) -> OnMouseOver
[src]
fn on_mouse_up(&self) -> OnMouseUp
[src]
fn on_wheel(&self) -> OnWheel
[src]
fn on_reset(&self) -> OnReset
[src]
fn on_resize(&self) -> OnResize
[src]
fn on_scroll(&self) -> OnScroll
[src]
fn on_select(&self) -> OnSelect
[src]
fn on_submit(&self) -> OnSubmit
[src]
fn on_toggle(&self) -> OnToggle
[src]
fn on_pointer_cancel(&self) -> OnPointerCancel
[src]
fn on_pointer_down(&self) -> OnPointerDown
[src]
fn on_pointer_move(&self) -> OnPointerMove
[src]
fn on_pointer_up(&self) -> OnPointerUp
[src]
fn on_pointer_out(&self) -> OnPointerOut
[src]
fn on_pointer_over(&self) -> OnPointerOver
[src]
fn on_pointer_enter(&self) -> OnPointerEnter
[src]
fn on_pointer_leave(&self) -> OnPointerLeave
[src]
fn on_got_pointer_capture(&self) -> OnGotPointerCapture
[src]
fn on_lost_pointer_capture(&self) -> OnLostPointerCapture
[src]
fn on_animation_cancel(&self) -> OnAnimationCancel
[src]
fn on_animation_end(&self) -> OnAnimationEnd
[src]
fn on_animation_iteration(&self) -> OnAnimationIteration
[src]
fn on_animation_start(&self) -> OnAnimationStart
[src]
fn on_transition_cancel(&self) -> OnTransitionCancel
[src]
fn on_transition_end(&self) -> OnTransitionEnd
[src]
fn on_transition_run(&self) -> OnTransitionRun
[src]
fn on_transition_start(&self) -> OnTransitionStart
[src]
fn on_error(&self) -> OnError
[src]
fn on_duration_changed(&self) -> OnDurationChanged
[src]
fn on_emptied(&self) -> OnEmptied
[src]
fn on_ended(&self) -> OnEnded
[src]
fn on_loaded_data(&self) -> OnLoadedData
[src]
fn on_loaded_metadata(&self) -> OnLoadedMetadata
[src]
fn on_pause(&self) -> OnPause
[src]
fn on_play(&self) -> OnPlay
[src]
fn on_playing(&self) -> OnPlaying
[src]
fn on_rate_change(&self) -> OnRateChange
[src]
fn on_seeked(&self) -> OnSeeked
[src]
fn on_seeking(&self) -> OnSeeking
[src]
fn on_stalled(&self) -> OnStalled
[src]
fn on_suspend(&self) -> OnSuspend
[src]
fn on_time_update(&self) -> OnTimeUpdate
[src]
fn on_volume_change(&self) -> OnVolumeChange
[src]
fn on_waiting(&self) -> OnWaiting
[src]
impl HtmlElement for HtmlBaseElement
[src]
fn blur(&self)
[src]
fn click(&self)
[src]
fn focus(&self)
[src]
fn title(&self) -> String
[src]
fn set_title(&self, title: &str)
[src]
fn lang(&self) -> String
[src]
fn set_lang(&self, lang: &str)
[src]
fn dir(&self) -> TextDirectionality
[src]
fn set_dir(&self, dir: TextDirectionality)
[src]
fn inner_text(&self) -> String
[src]
fn set_inner_text(&self, inner_text: &str)
[src]
[src]
[src]
fn tab_index(&self) -> i32
[src]
fn set_tab_index(&self, tab_index: i32)
[src]
fn draggable(&self) -> bool
[src]
fn set_draggable(&self, draggable: bool)
[src]
fn content_editable(&self) -> ContentEditable
[src]
fn is_content_editable(&self) -> bool
[src]
fn set_content_editable(&self, content_editable: ContentEditable)
[src]
fn spellcheck(&self) -> bool
[src]
fn set_spellcheck(&self, spellcheck: bool)
[src]
fn style(&self) -> CssStyleDeclaration
[src]
fn offset_parent(&self) -> Option<GenericHtmlElement>
[src]
fn offset_top(&self) -> i32
[src]
fn offset_left(&self) -> i32
[src]
fn offset_width(&self) -> i32
[src]
fn offset_height(&self) -> i32
[src]
impl Node for HtmlBaseElement
[src]
fn base_uri(&self) -> Option<String>
[src]
fn is_connected(&self) -> bool
[src]
fn node_type(&self) -> NodeType
[src]
fn node_value(&self) -> Option<String>
[src]
fn set_node_value(&self, value: Option<&str>)
[src]
fn text_content(&self) -> Option<String>
[src]
fn set_text_content(&self, content: Option<&str>)
[src]
fn compare_document_position<T>(&self, other: &T) -> CompareDocumentPosition where
T: Node,
[src]
T: Node,
fn is_default_namespace(&self, namespace: &str) -> bool
[src]
fn lookup_namespace_uri(&self, prefix: Option<&str>) -> Option<String>
[src]
fn lookup_prefix(&self, namespace: &str) -> Option<String>
[src]
fn normalize(&self)
[src]
fn root_node(&self) -> GenericNode
[src]
fn root_node_composed(&self) -> GenericNode
[src]
fn parent_node(&self) -> Option<GenericNode>
[src]
fn parent_element(&self) -> Option<GenericElement>
[src]
fn previous_sibling_node(&self) -> Option<GenericNode>
[src]
fn next_sibling_node(&self) -> Option<GenericNode>
[src]
fn child_nodes(&self) -> ChildNodes
[src]
impl TryFrom<GenericElement> for HtmlBaseElement
[src]
type Error = InvalidCast<GenericElement>
The type returned in the event of a conversion error.
fn try_from(value: GenericElement) -> Result<Self, Self::Error>
[src]
impl TryFrom<GenericHtmlElement> for HtmlBaseElement
[src]
type Error = InvalidCast<GenericHtmlElement>
The type returned in the event of a conversion error.
fn try_from(value: GenericHtmlElement) -> Result<Self, Self::Error>
[src]
impl TryFrom<GenericNode> for HtmlBaseElement
[src]
type Error = InvalidCast<GenericNode>
The type returned in the event of a conversion error.
fn try_from(value: GenericNode) -> Result<Self, Self::Error>
[src]
impl Write for HtmlBaseElement
[src]
Auto Trait Implementations
impl RefUnwindSafe for HtmlBaseElement
impl !Send for HtmlBaseElement
impl !Sync for HtmlBaseElement
impl Unpin for HtmlBaseElement
impl UnwindSafe for HtmlBaseElement
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,