[−][src]Struct gluon_vm::core::optimize::DifferentLifetime
Trait Implementations
impl<'a, 'b> ExprProducer<'a, 'b> for DifferentLifetime<'a, 'b>
[src]
fn new(allocator: &'a Allocator<'a>) -> Self
[src]
fn produce(&mut self, expr: CExpr<'b>) -> CExpr<'a>
[src]
fn produce_slice(&mut self, exprs: &'b [Expr<'b>]) -> &'a [Expr<'a>]
[src]
fn produce_alt(&mut self, alt: &'b Alternative<'b>) -> Alternative<'a>
[src]
fn allocator(&self) -> &'a Allocator<'a>
[src]
impl<'a, 'b> Visitor<'a, 'b> for DifferentLifetime<'a, 'b>
[src]
type Producer = DifferentLifetime<'a, 'b>
fn visit_expr(&mut self, expr: &'b Expr<'b>) -> Option<&'a Expr<'a>>
[src]
fn detach_allocator(&self) -> Option<&'a Allocator<'a>>
[src]
fn visit_expr_(&mut self, expr: CExpr<'b>) -> Option<Expr<'a>>
[src]
fn visit_binding(&mut self, _: &Symbol) -> Option<Symbol>
[src]
fn visit_type(&mut self, _: &'b ArcType) -> Option<ArcType>
[src]
fn visit_pattern(&mut self, expr: &'b Pattern) -> Option<Pattern>
[src]
fn visit_alt(&mut self, alt: &'b Alternative<'b>) -> Option<Alternative<'a>>
[src]
fn detach_producer(&self) -> Option<Self::Producer>
[src]
fn producer(&self) -> Self::Producer
[src]
fn allocator(&self) -> &'a Allocator<'a>
[src]
Auto Trait Implementations
impl<'a, 'b> !RefUnwindSafe for DifferentLifetime<'a, 'b>
impl<'a, 'b> !Send for DifferentLifetime<'a, 'b>
impl<'a, 'b> !Sync for DifferentLifetime<'a, 'b>
impl<'a, 'b> Unpin for DifferentLifetime<'a, 'b>
impl<'a, 'b> !UnwindSafe for DifferentLifetime<'a, 'b>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<'_, T> Captures<'_> for T
[src]
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
[src]
type Remainder = Choices
pub fn subset(
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
[src]
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
pub fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> From<T> for T
[src]
impl<D, T> FromPtr<D> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U, I> LiftInto<U, I> for T where
U: LiftFrom<T, I>,
[src]
U: LiftFrom<T, I>,
impl<Source> Sculptor<HNil, HNil> for Source
[src]
type Remainder = Source
pub fn sculpt(self) -> (HNil, <Source as Sculptor<HNil, HNil>>::Remainder)
[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>,