pub enum AnyAttribute<'a, 'b> {
Attribute(Attribute),
InNamespace(InNamespace<'a, Attribute>),
Str(&'a str),
InNamespaceStr(InNamespace<'a, &'b str>),
}Variants§
Attribute(Attribute)
InNamespace(InNamespace<'a, Attribute>)
Str(&'a str)
InNamespaceStr(InNamespace<'a, &'b str>)
Implementations§
Source§impl AnyAttribute<'_, '_>
impl AnyAttribute<'_, '_>
pub fn encode_u8_discriminant(&self, v: &mut Batch)
Trait Implementations§
Source§impl<'a, 'b> From<&'a str> for AnyAttribute<'a, 'b>
impl<'a, 'b> From<&'a str> for AnyAttribute<'a, 'b>
Source§impl<'a, 'b> From<Attribute> for AnyAttribute<'a, 'b>
impl<'a, 'b> From<Attribute> for AnyAttribute<'a, 'b>
Source§impl<'a, 'b> From<InNamespace<'a, &'b str>> for AnyAttribute<'a, 'b>
impl<'a, 'b> From<InNamespace<'a, &'b str>> for AnyAttribute<'a, 'b>
Source§fn from(a: InNamespace<'a, &'b str>) -> Self
fn from(a: InNamespace<'a, &'b str>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b> From<InNamespace<'a, Attribute>> for AnyAttribute<'a, 'b>
impl<'a, 'b> From<InNamespace<'a, Attribute>> for AnyAttribute<'a, 'b>
Source§fn from(a: InNamespace<'a, Attribute>) -> Self
fn from(a: InNamespace<'a, Attribute>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, 'b> Freeze for AnyAttribute<'a, 'b>
impl<'a, 'b> RefUnwindSafe for AnyAttribute<'a, 'b>
impl<'a, 'b> Send for AnyAttribute<'a, 'b>
impl<'a, 'b> Sync for AnyAttribute<'a, 'b>
impl<'a, 'b> Unpin for AnyAttribute<'a, 'b>
impl<'a, 'b> UnwindSafe for AnyAttribute<'a, 'b>
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