Skip to main content

IdentFragmentAdapter

Struct IdentFragmentAdapter 

Source
#[doc(hidden)]
pub struct IdentFragmentAdapter<T: IdentFragment>(pub T);

Tuple Fields§

§0: T

Implementations§

Source§

impl<T: IdentFragment> IdentFragmentAdapter<T>

Source

pub fn span(&self) -> Option<Span>

Trait Implementations§

Source§

impl<T: IdentFragment + Binary> Binary for IdentFragmentAdapter<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: Clone + IdentFragment> Clone for IdentFragmentAdapter<T>

Source§

fn clone(&self) -> IdentFragmentAdapter<T>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T: IdentFragment> Display for IdentFragmentAdapter<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: IdentFragment + LowerHex> LowerHex for IdentFragmentAdapter<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: IdentFragment + Octal> Octal for IdentFragmentAdapter<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: IdentFragment + UpperHex> UpperHex for IdentFragmentAdapter<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: Copy + IdentFragment> Copy for IdentFragmentAdapter<T>