pub struct StringContent { /* private fields */ }Expand description
A typed Macaulay2 string_content syntax leaf.
Implementations§
Trait Implementations§
Source§impl Debug for StringContent
impl Debug for StringContent
Source§impl From<StringContent> for StringElement
impl From<StringContent> for StringElement
Source§fn from(value: StringContent) -> Self
fn from(value: StringContent) -> Self
Converts to this type from the input type.
Source§impl Lex for StringContent
impl Lex for StringContent
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl PrettyTree for StringContent
impl PrettyTree for StringContent
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for StringContentwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for StringContentwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for StringContent
impl RefUnwindSafe for StringContent
impl Send for StringContent
impl Sync for StringContent
impl Unpin for StringContent
impl UnsafeUnpin for StringContent
impl UnwindSafe for StringContent
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