pub struct Scope<'parent, 'bp> { /* private fields */ }Implementations§
Source§impl<'parent, 'bp> Scope<'parent, 'bp>
impl<'parent, 'bp> Scope<'parent, 'bp>
pub fn with_component( state: StateId, attributes: Key, outer: Option<&'parent Scope<'parent, 'bp>>, ) -> Self
pub fn with_collection( collection: &'parent Collection<'bp>, parent: &'parent Scope<'parent, 'bp>, ) -> Self
pub fn with_index( binding: &'bp str, index: usize, parent: &'parent Scope<'parent, 'bp>, loop_index: PendingValue, ) -> Self
pub fn with_value( binding: &'bp str, value: &'parent Value<'bp>, parent: &'parent Scope<'parent, 'bp>, ) -> Self
pub fn root() -> Self
pub fn empty() -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'parent, 'bp> Freeze for Scope<'parent, 'bp>
impl<'parent, 'bp> !RefUnwindSafe for Scope<'parent, 'bp>
impl<'parent, 'bp> !Send for Scope<'parent, 'bp>
impl<'parent, 'bp> !Sync for Scope<'parent, 'bp>
impl<'parent, 'bp> Unpin for Scope<'parent, 'bp>
impl<'parent, 'bp> UnsafeUnpin for Scope<'parent, 'bp>
impl<'parent, 'bp> !UnwindSafe for Scope<'parent, 'bp>
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