pub struct ExternalCstChild<N> {
pub field: Option<&'static str>,
pub node: N,
}Expand description
One child supplied by an external CST backend.
Fields§
§field: Option<&'static str>The grammar field name, when the child occupies a named field.
node: NThe backend-local child node.
Auto Trait Implementations§
impl<N> Freeze for ExternalCstChild<N>where
N: Freeze,
impl<N> RefUnwindSafe for ExternalCstChild<N>where
N: RefUnwindSafe,
impl<N> Send for ExternalCstChild<N>where
N: Send,
impl<N> Sync for ExternalCstChild<N>where
N: Sync,
impl<N> Unpin for ExternalCstChild<N>where
N: Unpin,
impl<N> UnsafeUnpin for ExternalCstChild<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for ExternalCstChild<N>where
N: UnwindSafe,
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