[−][src]Enum rune::ast::ItemModBody
An item body.
Variants
EmptyBody(SemiColon)
An empty body terminated by a semicolon.
An inline body.
Trait Implementations
impl Clone for ItemModBody
[src]
pub fn clone(&self) -> ItemModBody
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ItemModBody
[src]
impl Eq for ItemModBody
[src]
impl Parse for ItemModBody
[src]
pub fn parse(p: &mut Parser<'_>) -> Result<Self, ParseError>
[src]
impl PartialEq<ItemModBody> for ItemModBody
[src]
pub fn eq(&self, other: &ItemModBody) -> bool
[src]
pub fn ne(&self, other: &ItemModBody) -> bool
[src]
impl Spanned for ItemModBody
[src]
impl StructuralEq for ItemModBody
[src]
impl StructuralPartialEq for ItemModBody
[src]
impl ToTokens for ItemModBody
[src]
pub fn to_tokens(&self, context: &MacroContext, stream: &mut TokenStream)
[src]
Auto Trait Implementations
impl RefUnwindSafe for ItemModBody
[src]
impl Send for ItemModBody
[src]
impl Sync for ItemModBody
[src]
impl Unpin for ItemModBody
[src]
impl UnwindSafe for ItemModBody
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,