pub struct AttributeRef(/* private fields */);
Expand description
A borrowing version of Attribute
, like Path
is to PathBuf
.
Implementations§
Source§impl AttributeRef
impl AttributeRef
Source§impl AttributeRef
impl AttributeRef
Sourcepub fn from_static(s: &'static str) -> &'static Self
pub fn from_static(s: &'static str) -> &'static Self
Panics if the attribute is invalid
Trait Implementations§
Source§impl AsRef<AttributeRef> for &AttributeRef
impl AsRef<AttributeRef> for &AttributeRef
Source§fn as_ref(&self) -> &AttributeRef
fn as_ref(&self) -> &AttributeRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<AttributeRef> for Attribute
impl AsRef<AttributeRef> for Attribute
Source§fn as_ref(&self) -> &AttributeRef
fn as_ref(&self) -> &AttributeRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<AttributeRef> for Attribute
impl Borrow<AttributeRef> for Attribute
Source§fn borrow(&self) -> &AttributeRef
fn borrow(&self) -> &AttributeRef
Immutably borrows from an owned value. Read more
Source§impl Debug for AttributeRef
impl Debug for AttributeRef
Source§impl Display for AttributeRef
impl Display for AttributeRef
Source§impl<'a> From<&'a AttributeRef> for ValueRef<'a>
impl<'a> From<&'a AttributeRef> for ValueRef<'a>
Source§fn from(v: &'a AttributeRef) -> Self
fn from(v: &'a AttributeRef) -> Self
Converts to this type from the input type.
Source§impl Ord for AttributeRef
impl Ord for AttributeRef
Source§impl PartialEq for AttributeRef
impl PartialEq for AttributeRef
Source§impl PartialOrd for AttributeRef
impl PartialOrd for AttributeRef
Source§impl Serialize for AttributeRef
impl Serialize for AttributeRef
Source§impl ToOwned for AttributeRef
impl ToOwned for AttributeRef
Source§impl<'a> ToSql for &'a AttributeRef
impl<'a> ToSql for &'a AttributeRef
Source§fn to_sql(&self) -> Result<ToSqlOutput<'_>>
fn to_sql(&self) -> Result<ToSqlOutput<'_>>
Converts Rust value to SQLite value