Struct owoof::types::AttributeRef
source · [−]#[repr(transparent)]pub struct AttributeRef(_);
Expand description
A borrowing version of Attribute
, like Path
is to PathBuf
.
Implementations
sourceimpl AttributeRef
impl AttributeRef
sourceimpl 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
sourceimpl AsRef<AttributeRef> for Attribute
impl AsRef<AttributeRef> for Attribute
sourcefn as_ref(&self) -> &AttributeRef
fn as_ref(&self) -> &AttributeRef
Performs the conversion.
sourceimpl AsRef<AttributeRef> for &AttributeRef
impl AsRef<AttributeRef> for &AttributeRef
sourcefn as_ref(&self) -> &AttributeRef
fn as_ref(&self) -> &AttributeRef
Performs the conversion.
sourceimpl Borrow<AttributeRef> for Attribute
impl Borrow<AttributeRef> for Attribute
sourcefn borrow(&self) -> &AttributeRef
fn borrow(&self) -> &AttributeRef
Immutably borrows from an owned value. Read more
sourceimpl Debug for AttributeRef
impl Debug for AttributeRef
sourceimpl Display for AttributeRef
impl Display for AttributeRef
sourceimpl<'a> From<&'a AttributeRef> for ValueRef<'a>
impl<'a> From<&'a AttributeRef> for ValueRef<'a>
sourcefn from(v: &'a AttributeRef) -> Self
fn from(v: &'a AttributeRef) -> Self
Performs the conversion.
sourceimpl Ord for AttributeRef
impl Ord for AttributeRef
sourceimpl PartialEq<AttributeRef> for AttributeRef
impl PartialEq<AttributeRef> for AttributeRef
sourcefn eq(&self, other: &AttributeRef) -> bool
fn eq(&self, other: &AttributeRef) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttributeRef) -> bool
fn ne(&self, other: &AttributeRef) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttributeRef> for AttributeRef
impl PartialOrd<AttributeRef> for AttributeRef
sourcefn partial_cmp(&self, other: &AttributeRef) -> Option<Ordering>
fn partial_cmp(&self, other: &AttributeRef) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for AttributeRef
impl Serialize for AttributeRef
sourceimpl ToOwned for AttributeRef
impl ToOwned for AttributeRef
sourceimpl<'a> ToSql for &'a AttributeRef
impl<'a> ToSql for &'a AttributeRef
sourcefn to_sql(&self) -> Result<ToSqlOutput<'_>>
fn to_sql(&self) -> Result<ToSqlOutput<'_>>
Converts Rust value to SQLite value