Enum debris_parser::ast::FormatStringComponent
source · pub enum FormatStringComponent {
EscapedChar(Token),
Path(Path),
StringInner(Token),
}
Variants§
Implementations§
source§impl FormatStringComponent
impl FormatStringComponent
pub fn new(item: AstNodeOrToken) -> Option<Self>
Auto Trait Implementations§
impl RefUnwindSafe for FormatStringComponent
impl !Send for FormatStringComponent
impl !Sync for FormatStringComponent
impl Unpin for FormatStringComponent
impl UnwindSafe for FormatStringComponent
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