#[repr(transparent)]
pub struct AttributeRef(_);
Expand description

A borrowing version of Attribute, like Path is to PathBuf.

Implementations

TODO needs a better name so this doesn’t collide with FromStr.

Without the leading :.

The identifier with the leading :.

Everything after the last / in the identifier, or just the identifier if no / is in the attribute.

Panics if the attribute is invalid

Trait Implementations

Performs the conversion.

Performs the conversion.

Immutably borrows from an owned value. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Serialize this value into the given Serde serializer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts Rust value to SQLite value

The type returned in the event of a conversion error.

Performs the conversion.

Used to help map borrowing and owning instances to a single type. To avoid discriminating between &Value, Value, and ValueRef in cases where we want to treat them the same. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Converts the given value to a String. Read more