[−][src]Enum silkworm_syn::ast::NodeHeader
Variants
Title(Path)
A custom header entry. The second argument is a span of the header content.
Trait Implementations
impl Clone for NodeHeader
[src]
fn clone(&self) -> NodeHeader
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NodeHeader
[src]
impl Eq for NodeHeader
[src]
impl Parse for NodeHeader
[src]
const SOURCE_BLOCK_MODE: BlockMode
[src]
const SOURCE_INLINE_MODE: InlineMode
[src]
fn partial_parse_with_ctx<I: IntoIterator<Item = Token>>(
partial: bool,
ctx: ParseCtx,
token_stream: I
) -> Result<Self, ()>
[src]
partial: bool,
ctx: ParseCtx,
token_stream: I
) -> Result<Self, ()>
fn parse_with_ctx<I: IntoIterator<Item = Token>>(
ctx: ParseCtx,
token_stream: I
) -> Result<Self, ()>
[src]
ctx: ParseCtx,
token_stream: I
) -> Result<Self, ()>
fn partial_parse_with_interner(
partial: bool,
source: &str,
span_base: u32,
interner: &mut Interner
) -> Result<Self, Vec<Error>>
[src]
partial: bool,
source: &str,
span_base: u32,
interner: &mut Interner
) -> Result<Self, Vec<Error>>
fn parse_with_interner(
source: &str,
span_base: u32,
interner: &mut Interner
) -> Result<Self, Vec<Error>>
[src]
source: &str,
span_base: u32,
interner: &mut Interner
) -> Result<Self, Vec<Error>>
fn partial_parse(
partial: bool,
source: &str,
span_base: u32
) -> Result<(Self, Interner), Vec<Error>>
[src]
partial: bool,
source: &str,
span_base: u32
) -> Result<(Self, Interner), Vec<Error>>
fn parse(source: &str, span_base: u32) -> Result<(Self, Interner), Vec<Error>>
[src]
impl PartialEq<NodeHeader> for NodeHeader
[src]
fn eq(&self, other: &NodeHeader) -> bool
[src]
fn ne(&self, other: &NodeHeader) -> bool
[src]
impl StructuralEq for NodeHeader
[src]
impl StructuralPartialEq for NodeHeader
[src]
Auto Trait Implementations
impl RefUnwindSafe for NodeHeader
impl Send for NodeHeader
impl Sync for NodeHeader
impl Unpin for NodeHeader
impl UnwindSafe for NodeHeader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,