#[repr(u32)]pub enum ElementTag {
Page = 1,
View = 2,
Text = 3,
RawText = 4,
ScrollView = 5,
}Expand description
Element tag. Numeric repr stays in sync with WhiskerElementTag
in crates/whisker-driver-sys/bridge/include/whisker_bridge.h.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ElementTag
impl Clone for ElementTag
Source§fn clone(&self) -> ElementTag
fn clone(&self) -> ElementTag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ElementTag
Source§impl Debug for ElementTag
impl Debug for ElementTag
impl Eq for ElementTag
Source§impl Hash for ElementTag
impl Hash for ElementTag
Source§impl PartialEq for ElementTag
impl PartialEq for ElementTag
Source§fn eq(&self, other: &ElementTag) -> bool
fn eq(&self, other: &ElementTag) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ElementTag
Auto Trait Implementations§
impl Freeze for ElementTag
impl RefUnwindSafe for ElementTag
impl Send for ElementTag
impl Sync for ElementTag
impl Unpin for ElementTag
impl UnsafeUnpin for ElementTag
impl UnwindSafe for ElementTag
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