pub struct SemanticAttribute {
pub name: &'static str,
pub value: String,
}Expand description
Extra attributes applied to semantic wrappers when a renderer supports them.
Fields§
§name: &'static strThe attribute name.
value: StringThe attribute value.
Trait Implementations§
Source§impl Clone for SemanticAttribute
impl Clone for SemanticAttribute
Source§fn clone(&self) -> SemanticAttribute
fn clone(&self) -> SemanticAttribute
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 moreSource§impl Debug for SemanticAttribute
impl Debug for SemanticAttribute
impl Eq for SemanticAttribute
Source§impl PartialEq for SemanticAttribute
impl PartialEq for SemanticAttribute
Source§fn eq(&self, other: &SemanticAttribute) -> bool
fn eq(&self, other: &SemanticAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SemanticAttribute
Auto Trait Implementations§
impl Freeze for SemanticAttribute
impl RefUnwindSafe for SemanticAttribute
impl Send for SemanticAttribute
impl Sync for SemanticAttribute
impl Unpin for SemanticAttribute
impl UnsafeUnpin for SemanticAttribute
impl UnwindSafe for SemanticAttribute
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.