[−][src]Struct gluon_base::ast::OwnedExpr
Implementations
impl<Id> OwnedExpr<Id>
[src]
pub fn with_arena<R>(
&mut self,
f: impl for<'ast> FnOnce(OwnedArena<'ast, Id>, &'ast mut SpannedExpr<'ast, Id>) -> R
) -> R
[src]
&mut self,
f: impl for<'ast> FnOnce(OwnedArena<'ast, Id>, &'ast mut SpannedExpr<'ast, Id>) -> R
) -> R
pub fn expr(&self) -> &SpannedExpr<'_, Id>
[src]
pub fn expr_mut(&mut self) -> &mut SpannedExpr<'_, Id>
[src]
pub fn arena_expr(&mut self) -> (OwnedArena<'_, Id>, &mut SpannedExpr<'_, Id>)
[src]
Trait Implementations
impl<Id: Debug> Debug for OwnedExpr<Id>
[src]
impl<Id: 'static> Default for OwnedExpr<Id>
[src]
impl<Id: Eq> Eq for OwnedExpr<Id>
[src]
impl<Id: PartialEq> PartialEq<OwnedExpr<Id>> for OwnedExpr<Id>
[src]
impl<Id> Send for OwnedExpr<Id> where
Id: Send,
SpannedExpr<'static, Id>: Send,
[src]
Id: Send,
SpannedExpr<'static, Id>: Send,
Since the Arena
is no longer accessible it if self
is the only owner of
the arena we can implement Send
and Sync
impl<Id> Sync for OwnedExpr<Id> where
Id: Sync,
SpannedExpr<'static, Id>: Sync,
[src]
Id: Sync,
SpannedExpr<'static, Id>: Sync,
impl Typed for OwnedExpr<Symbol>
[src]
Auto Trait Implementations
impl<Id> !RefUnwindSafe for OwnedExpr<Id>
impl<Id> Unpin for OwnedExpr<Id> where
Id: Unpin,
Id: Unpin,
impl<Id> !UnwindSafe for OwnedExpr<Id>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Id> AsId<Id> for Id where
Id: ?Sized,
[src]
Id: ?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, 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>,