Struct koto_parser::AstString
source · pub struct AstString {
pub quote: StringQuote,
pub contents: StringContents,
}
Expand description
A string definition
Fields§
§quote: StringQuote
Indicates if single or double quotation marks were used
contents: StringContents
The string’s contents
Trait Implementations§
source§impl From<AstString> for IdOrString
impl From<AstString> for IdOrString
source§impl PartialEq for AstString
impl PartialEq for AstString
impl Eq for AstString
impl StructuralPartialEq for AstString
Auto Trait Implementations§
impl Freeze for AstString
impl RefUnwindSafe for AstString
impl Send for AstString
impl Sync for AstString
impl Unpin for AstString
impl UnwindSafe for AstString
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