ComprehensionExpr

Struct ComprehensionExpr 

Source
pub struct ComprehensionExpr { /* private fields */ }

Implementations§

Source§

impl ComprehensionExpr

Source

pub fn iter_var(&self) -> &CxxString

Source

pub fn set_iter_var<'a>(self: Pin<&mut Self>, iter_var: StringView<'a>)

Source

pub fn iter_var2(&self) -> &CxxString

Source

pub fn set_iter_var2<'a>(self: Pin<&mut Self>, iter_var2: StringView<'a>)

Source

pub fn has_iter_range(&self) -> bool

Source

pub fn iter_range(&self) -> &Expr

Source

pub fn iter_range_mut(self: Pin<&mut Self>) -> Pin<&mut Expr>

Source

pub fn set_iter_range(self: Pin<&mut Self>, iter_range: UniquePtr<Expr>)

Source

pub fn release_iter_range(self: Pin<&mut Self>) -> UniquePtr<Expr>

Source

pub fn accu_var(&self) -> &CxxString

Source

pub fn set_accu_var<'a>(self: Pin<&mut Self>, accu_var: StringView<'a>)

Source

pub fn has_accu_init(&self) -> bool

Source

pub fn accu_init(&self) -> &Expr

Source

pub fn accu_init_mut(self: Pin<&mut Self>) -> Pin<&mut Expr>

Source

pub fn set_accu_init(self: Pin<&mut Self>, accu_init: UniquePtr<Expr>)

Source

pub fn release_accu_init(self: Pin<&mut Self>) -> UniquePtr<Expr>

Source

pub fn has_loop_condition(&self) -> bool

Source

pub fn loop_condition(&self) -> &Expr

Source

pub fn loop_condition_mut(self: Pin<&mut Self>) -> Pin<&mut Expr>

Source

pub fn set_loop_condition(self: Pin<&mut Self>, loop_condition: UniquePtr<Expr>)

Source

pub fn release_loop_condition(self: Pin<&mut Self>) -> UniquePtr<Expr>

Source

pub fn has_loop_step(&self) -> bool

Source

pub fn loop_step(&self) -> &Expr

Source

pub fn loop_step_mut(self: Pin<&mut Self>) -> Pin<&mut Expr>

Source

pub fn set_loop_step(self: Pin<&mut Self>, loop_step: UniquePtr<Expr>)

Source

pub fn release_loop_step(self: Pin<&mut Self>) -> UniquePtr<Expr>

Source

pub fn has_result(&self) -> bool

Source

pub fn result(&self) -> &Expr

Source

pub fn result_mut(self: Pin<&mut Self>) -> Pin<&mut Expr>

Source

pub fn set_result(self: Pin<&mut Self>, result: UniquePtr<Expr>)

Source

pub fn release_result(self: Pin<&mut Self>) -> UniquePtr<Expr>

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where 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>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.