pub struct EmptyComponent {
pub text: String,
/* private fields */
}Fields§
§text: StringImplementations§
Trait Implementations§
Source§impl Debug for EmptyComponent
impl Debug for EmptyComponent
Source§impl From<EmptyComponent> for Component
impl From<EmptyComponent> for Component
Source§fn from(value: EmptyComponent) -> Self
fn from(value: EmptyComponent) -> Self
Converts to this type from the input type.
Source§impl From<EmptyComponent> for SequenceElement
impl From<EmptyComponent> for SequenceElement
Source§fn from(value: EmptyComponent) -> Self
fn from(value: EmptyComponent) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for EmptyComponent
impl PrettyTree for EmptyComponent
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 EmptyComponentwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for EmptyComponentwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for EmptyComponent
impl ToTokens for EmptyComponent
Auto Trait Implementations§
impl Freeze for EmptyComponent
impl RefUnwindSafe for EmptyComponent
impl Send for EmptyComponent
impl Sync for EmptyComponent
impl Unpin for EmptyComponent
impl UnsafeUnpin for EmptyComponent
impl UnwindSafe for EmptyComponent
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