pub struct ViewBuilder<'a, S: State> { /* private fields */ }Expand description
Builder for constructing an instance of this type
Implementations§
Source§impl<'a> ViewBuilder<'a, Empty>
impl<'a> ViewBuilder<'a, Empty>
Source§impl<'a, S> ViewBuilder<'a, S>
impl<'a, S> ViewBuilder<'a, S>
Sourcepub fn record(
self,
value: impl Into<ViewUnionRecord<'a>>,
) -> ViewBuilder<'a, SetRecord<S>>
pub fn record( self, value: impl Into<ViewUnionRecord<'a>>, ) -> ViewBuilder<'a, SetRecord<S>>
Set the record field (required)
Auto Trait Implementations§
impl<'a, S> !Freeze for ViewBuilder<'a, S>
impl<'a, S> RefUnwindSafe for ViewBuilder<'a, S>
impl<'a, S> Send for ViewBuilder<'a, S>
impl<'a, S> Sync for ViewBuilder<'a, S>
impl<'a, S> Unpin for ViewBuilder<'a, S>
impl<'a, S> UnsafeUnpin for ViewBuilder<'a, S>
impl<'a, S> UnwindSafe for ViewBuilder<'a, S>
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