pub struct ViewBuilder<'lb> { /* private fields */ }Implementations§
Source§impl<'lb> ViewBuilder<'lb>
impl<'lb> ViewBuilder<'lb>
pub fn new( context: &'lb ViewContext<'lb>, pc: u32, index: ViewRef, free_mark: FreeMark, lowest_free_mark: Option<Reg>, ) -> ViewBuilder<'lb>
pub fn depend_on_register(&mut self, reg: Reg)
pub fn has_pinned_before(&self, reg: Reg) -> bool
pub fn take_reg(&mut self, reg: Reg) -> ViewOrReg
pub fn take_reg_or_kst(&mut self, rk: RK) -> ViewOrRegOrKst
pub fn can_take_reg_strong(&mut self, reg: Reg) -> bool
pub fn take_reg_strong(&mut self, reg: Reg) -> ViewRef
pub fn is_next_view_self(&self, reg: Reg) -> bool
pub fn take_call_func(&mut self, reg: Reg) -> CallFunc
pub fn take_varargs(&mut self) -> (ViewRef, Reg)
pub fn take_partial_conditional(&mut self) -> (ViewRef, PartialCondInfo)
pub fn take_views_until<F>(&mut self, predicate: F) -> Vec<ViewRef>
pub fn take_single_view(&mut self) -> ViewRef
pub fn take_scope(&mut self) -> ViewRef
pub fn take_conditional( &mut self, on_true: u32, on_false: u32, ) -> (CondContext, Vec<ViewRef>)
pub fn take_conditional_loadbool(&mut self) -> (CondContext, Vec<ViewRef>)
pub fn take_else(&mut self) -> ViewRef
pub fn take_for_assignment( &mut self, source: AssignSource, lhs: PartialAssignmentLHS, ) -> TakeAssignmentResult
pub fn take_setlist(&mut self, base: Reg, count: Count) -> TableInfo
pub fn take_for_prep(&mut self) -> ViewRef
pub fn take_generic_for_params(&mut self, base: Reg) -> Vec<ViewRef>
pub fn take_loadbool_head(&mut self, dest: Reg) -> Option<ViewRef>
pub fn take_multi_return_value(&mut self, top: Reg) -> (Reg, ViewRef)
pub fn take_simple_cond_tail(&mut self, dest: Reg) -> ViewRef
pub fn allocate(&mut self, alloc: RegRange)
pub fn allocate_single(&mut self, alloc: Reg)
pub fn base(&mut self, reg: Reg)
pub fn build( self, data: Box<dyn ViewData>, view_type: ViewType, key: ViewKeyRef, ) -> View
Auto Trait Implementations§
impl<'lb> !RefUnwindSafe for ViewBuilder<'lb>
impl<'lb> !Send for ViewBuilder<'lb>
impl<'lb> !Sync for ViewBuilder<'lb>
impl<'lb> !UnwindSafe for ViewBuilder<'lb>
impl<'lb> Freeze for ViewBuilder<'lb>
impl<'lb> Unpin for ViewBuilder<'lb>
impl<'lb> UnsafeUnpin for ViewBuilder<'lb>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more