pub enum FormatFuncArgKey {
Path(Path),
Num(Span),
}Variants§
Trait Implementations§
Source§impl Clone for FormatFuncArgKey
impl Clone for FormatFuncArgKey
Source§fn clone(&self) -> FormatFuncArgKey
fn clone(&self) -> FormatFuncArgKey
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 FormatFuncArgKey
impl Debug for FormatFuncArgKey
Source§impl Parse for FormatFuncArgKey
impl Parse for FormatFuncArgKey
Source§fn partial_parse_with_ctx<I: IntoIterator<Item = Token>>(
partial: bool,
ctx: ParseCtx<'_>,
token_stream: I,
) -> Result<Self, ()>
fn partial_parse_with_ctx<I: IntoIterator<Item = Token>>( partial: bool, ctx: ParseCtx<'_>, token_stream: I, ) -> Result<Self, ()>
Parse an AST node with a shared parsing context. Errors are emitted into
ctx. Read moreSource§fn parse_with_ctx<I: IntoIterator<Item = Token>>(
ctx: ParseCtx<'_>,
token_stream: I,
) -> Result<Self, ()>
fn parse_with_ctx<I: IntoIterator<Item = Token>>( ctx: ParseCtx<'_>, token_stream: I, ) -> Result<Self, ()>
Parse an AST node with a shared parsing context. Errors are emitted into
ctx. Read moreSource§fn partial_parse_with_interner(
partial: bool,
source: &str,
span_base: u32,
interner: &mut Interner,
) -> Result<Self, Vec<Error>>
fn partial_parse_with_interner( partial: bool, source: &str, span_base: u32, interner: &mut Interner, ) -> Result<Self, Vec<Error>>
Convenience method for parsing source without a shared context. Errors are returned
in the
Err variant. Read moreSource§fn parse_with_interner(
source: &str,
span_base: u32,
interner: &mut Interner,
) -> Result<Self, Vec<Error>>
fn parse_with_interner( source: &str, span_base: u32, interner: &mut Interner, ) -> Result<Self, Vec<Error>>
Convenience method for parsing source without a shared context. Errors are returned
in the
Err variant. Read moreSource§impl PartialEq for FormatFuncArgKey
impl PartialEq for FormatFuncArgKey
impl Eq for FormatFuncArgKey
impl StructuralPartialEq for FormatFuncArgKey
Auto Trait Implementations§
impl Freeze for FormatFuncArgKey
impl RefUnwindSafe for FormatFuncArgKey
impl Send for FormatFuncArgKey
impl Sync for FormatFuncArgKey
impl Unpin for FormatFuncArgKey
impl UnsafeUnpin for FormatFuncArgKey
impl UnwindSafe for FormatFuncArgKey
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