pub struct StringContent {
pub text: String,
/* private fields */
}Fields§
§text: StringImplementations§
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 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,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for StringContent
impl ToTokens for StringContent
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