pub struct At<S = (), C = (), Lang: ?Sized = ()> { /* private fields */ }Expand description
The @ punctuator
Implementations§
Source§impl<S, C> At<S, C>
impl<S, C> At<S, C>
Sourcepub const fn with_content(span: S, content: C) -> Self
pub const fn with_content(span: S, content: C) -> Self
Creates a new @ punctuator with the given span and content.
Trait Implementations§
Source§impl<S, C, Lang: ?Sized> DisplayCompact for At<S, C, Lang>
impl<S, C, Lang: ?Sized> DisplayCompact for At<S, C, Lang>
Source§impl<S, C, Lang: ?Sized> DisplayHuman for At<S, C, Lang>
impl<S, C, Lang: ?Sized> DisplayHuman for At<S, C, Lang>
Source§impl<S, C, Lang: ?Sized> DisplayPretty for At<S, C, Lang>
impl<S, C, Lang: ?Sized> DisplayPretty for At<S, C, Lang>
Source§impl<S, C, Lang: ?Sized> IntoComponents for At<S, C, Lang>
impl<S, C, Lang: ?Sized> IntoComponents for At<S, C, Lang>
Source§type Components = (S, C)
type Components = (S, C)
The tuple or struct type containing the decomposed components. Read more
Source§fn into_components(self) -> Self::Components
fn into_components(self) -> Self::Components
Consumes this element and returns its constituent components. Read more
Source§impl<S, C, Lang: ?Sized> PartialOrd<At<S, C, Lang>> for str
impl<S, C, Lang: ?Sized> PartialOrd<At<S, C, Lang>> for str
Source§impl<S, C, Lang: ?Sized> PartialOrd<str> for At<S, C, Lang>
impl<S, C, Lang: ?Sized> PartialOrd<str> for At<S, C, Lang>
impl<S: Copy, C: Copy, Lang: Copy + ?Sized> Copy for At<S, C, Lang>
impl<S: Eq, C: Eq, Lang: Eq + ?Sized> Eq for At<S, C, Lang>
impl<S, C, Lang: ?Sized> StructuralPartialEq for At<S, C, Lang>
Auto Trait Implementations§
impl<S, C, Lang> Freeze for At<S, C, Lang>
impl<S, C, Lang> RefUnwindSafe for At<S, C, Lang>
impl<S, C, Lang> Send for At<S, C, Lang>
impl<S, C, Lang> Sync for At<S, C, Lang>
impl<S, C, Lang> Unpin for At<S, C, Lang>
impl<S, C, Lang> UnwindSafe for At<S, C, Lang>
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