Enum virtual_node::AttributeValue
source · [−]Expand description
The value associated with an element’s attribute.
For , the element attribute value would be
ElementAttributeValue::Bool(true)
Variants
String(String)
A string attribute such as value=“My text input contents”
Bool(bool)
A boolean attribute disabled=true
Implementations
Trait Implementations
sourceimpl Clone for AttributeValue
impl Clone for AttributeValue
sourcefn clone(&self) -> AttributeValue
fn clone(&self) -> AttributeValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AttributeValue
impl Debug for AttributeValue
sourceimpl Display for AttributeValue
impl Display for AttributeValue
sourceimpl From<&'_ String> for AttributeValue
impl From<&'_ String> for AttributeValue
sourceimpl From<&'_ bool> for AttributeValue
impl From<&'_ bool> for AttributeValue
sourceimpl From<&'_ f32> for AttributeValue
impl From<&'_ f32> for AttributeValue
sourceimpl From<&'_ f64> for AttributeValue
impl From<&'_ f64> for AttributeValue
sourceimpl From<&'_ i128> for AttributeValue
impl From<&'_ i128> for AttributeValue
sourceimpl From<&'_ i16> for AttributeValue
impl From<&'_ i16> for AttributeValue
sourceimpl From<&'_ i32> for AttributeValue
impl From<&'_ i32> for AttributeValue
sourceimpl From<&'_ i64> for AttributeValue
impl From<&'_ i64> for AttributeValue
sourceimpl From<&'_ i8> for AttributeValue
impl From<&'_ i8> for AttributeValue
sourceimpl From<&'_ str> for AttributeValue
impl From<&'_ str> for AttributeValue
sourceimpl From<&'_ u128> for AttributeValue
impl From<&'_ u128> for AttributeValue
sourceimpl From<&'_ u16> for AttributeValue
impl From<&'_ u16> for AttributeValue
sourceimpl From<&'_ u32> for AttributeValue
impl From<&'_ u32> for AttributeValue
sourceimpl From<&'_ u64> for AttributeValue
impl From<&'_ u64> for AttributeValue
sourceimpl From<&'_ u8> for AttributeValue
impl From<&'_ u8> for AttributeValue
sourceimpl From<String> for AttributeValue
impl From<String> for AttributeValue
sourceimpl From<bool> for AttributeValue
impl From<bool> for AttributeValue
sourceimpl From<f32> for AttributeValue
impl From<f32> for AttributeValue
sourceimpl From<f64> for AttributeValue
impl From<f64> for AttributeValue
sourceimpl From<i128> for AttributeValue
impl From<i128> for AttributeValue
sourceimpl From<i16> for AttributeValue
impl From<i16> for AttributeValue
sourceimpl From<i32> for AttributeValue
impl From<i32> for AttributeValue
sourceimpl From<i64> for AttributeValue
impl From<i64> for AttributeValue
sourceimpl From<i8> for AttributeValue
impl From<i8> for AttributeValue
sourceimpl From<u128> for AttributeValue
impl From<u128> for AttributeValue
sourceimpl From<u16> for AttributeValue
impl From<u16> for AttributeValue
sourceimpl From<u32> for AttributeValue
impl From<u32> for AttributeValue
sourceimpl From<u64> for AttributeValue
impl From<u64> for AttributeValue
sourceimpl From<u8> for AttributeValue
impl From<u8> for AttributeValue
sourceimpl Into<JsValue> for AttributeValue
impl Into<JsValue> for AttributeValue
sourceimpl PartialEq<AttributeValue> for AttributeValue
impl PartialEq<AttributeValue> for AttributeValue
sourcefn eq(&self, other: &AttributeValue) -> bool
fn eq(&self, other: &AttributeValue) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AttributeValue) -> bool
fn ne(&self, other: &AttributeValue) -> bool
This method tests for !=.
impl StructuralPartialEq for AttributeValue
Auto Trait Implementations
impl RefUnwindSafe for AttributeValue
impl Send for AttributeValue
impl Sync for AttributeValue
impl Unpin for AttributeValue
impl UnwindSafe for AttributeValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more