pub struct AttributeTest {
pub name: Option<QName>,
pub type_name: Option<QName>,
}Expand description
Attribute test: attribute(), attribute(name), or attribute(name, type).
Fields§
§name: Option<QName>Attribute name (None = wildcard).
type_name: Option<QName>Type annotation (None = any type).
Trait Implementations§
Source§impl Clone for AttributeTest
impl Clone for AttributeTest
Source§fn clone(&self) -> AttributeTest
fn clone(&self) -> AttributeTest
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 AttributeTest
impl Debug for AttributeTest
Source§impl Default for AttributeTest
impl Default for AttributeTest
Source§fn default() -> AttributeTest
fn default() -> AttributeTest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AttributeTest
impl RefUnwindSafe for AttributeTest
impl Send for AttributeTest
impl Sync for AttributeTest
impl Unpin for AttributeTest
impl UnsafeUnpin for AttributeTest
impl UnwindSafe for AttributeTest
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