pub struct DomElementRef { /* private fields */ }Expand description
A reference to DomElement.
Use DomElement::get_ref to obtain. See js! macro for an example.
Implementations§
Source§impl DomElementRef
impl DomElementRef
pub fn new(id: DomId) -> DomElementRef
pub fn dom_access(&self) -> DomAccess
Trait Implementations§
Source§impl Clone for DomElementRef
impl Clone for DomElementRef
Source§fn clone(&self) -> DomElementRef
fn clone(&self) -> DomElementRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for DomElementRef
impl PartialEq for DomElementRef
Auto Trait Implementations§
impl Freeze for DomElementRef
impl RefUnwindSafe for DomElementRef
impl Send for DomElementRef
impl Sync for DomElementRef
impl Unpin for DomElementRef
impl UnwindSafe for DomElementRef
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