#[repr(u8)]pub enum ParamPrefix {
Dollar = 36,
Colon = 58,
Question = 63,
At = 64,
}Expand description
A parameter prefix character, preceding the name or index of a bound parameter.
One of $, :, ?, or @.
The default value is $, because it’s the most flexible one.
Variants are in ASCII/Unicode code point order.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ParamPrefix
impl Clone for ParamPrefix
Source§fn clone(&self) -> ParamPrefix
fn clone(&self) -> ParamPrefix
Returns a duplicate of the value. Read more
1.0.0 · 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 ParamPrefix
impl Debug for ParamPrefix
Source§impl Default for ParamPrefix
impl Default for ParamPrefix
Source§fn default() -> ParamPrefix
fn default() -> ParamPrefix
Returns the “default value” for a type. Read more
Source§impl Display for ParamPrefix
impl Display for ParamPrefix
Source§impl From<ParamPrefix> for char
impl From<ParamPrefix> for char
Source§fn from(prefix: ParamPrefix) -> Self
fn from(prefix: ParamPrefix) -> Self
Converts to this type from the input type.
Source§impl From<ParamPrefix> for u8
impl From<ParamPrefix> for u8
Source§fn from(prefix: ParamPrefix) -> Self
fn from(prefix: ParamPrefix) -> Self
Converts to this type from the input type.
Source§impl FromStr for ParamPrefix
impl FromStr for ParamPrefix
Source§impl Hash for ParamPrefix
impl Hash for ParamPrefix
Source§impl Ord for ParamPrefix
impl Ord for ParamPrefix
Source§fn cmp(&self, other: &ParamPrefix) -> Ordering
fn cmp(&self, other: &ParamPrefix) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParamPrefix
impl PartialEq for ParamPrefix
Source§impl PartialOrd for ParamPrefix
impl PartialOrd for ParamPrefix
Source§impl TryFrom<char> for ParamPrefix
impl TryFrom<char> for ParamPrefix
Source§impl TryFrom<u8> for ParamPrefix
impl TryFrom<u8> for ParamPrefix
impl Copy for ParamPrefix
impl Eq for ParamPrefix
impl StructuralPartialEq for ParamPrefix
Auto Trait Implementations§
impl Freeze for ParamPrefix
impl RefUnwindSafe for ParamPrefix
impl Send for ParamPrefix
impl Sync for ParamPrefix
impl Unpin for ParamPrefix
impl UnwindSafe for ParamPrefix
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