pub struct NotebookRefBuilder<'a, S: State> { /* private fields */ }Expand description
Builder for constructing an instance of this type
Implementations§
Source§impl<'a> NotebookRefBuilder<'a, Empty>
impl<'a> NotebookRefBuilder<'a, Empty>
Source§impl<'a, S> NotebookRefBuilder<'a, S>
impl<'a, S> NotebookRefBuilder<'a, S>
Sourcepub fn notebook(
self,
value: impl Into<StrongRef<'a>>,
) -> NotebookRefBuilder<'a, SetNotebook<S>>
pub fn notebook( self, value: impl Into<StrongRef<'a>>, ) -> NotebookRefBuilder<'a, SetNotebook<S>>
Set the notebook field (required)
Source§impl<'a, S> NotebookRefBuilder<'a, S>
impl<'a, S> NotebookRefBuilder<'a, S>
Sourcepub fn build(self) -> NotebookRef<'a>
pub fn build(self) -> NotebookRef<'a>
Build the final struct
Sourcepub fn build_with_data(
self,
extra_data: BTreeMap<SmolStr, Data<'a>>,
) -> NotebookRef<'a>
pub fn build_with_data( self, extra_data: BTreeMap<SmolStr, Data<'a>>, ) -> NotebookRef<'a>
Build the final struct with custom extra_data
Auto Trait Implementations§
impl<'a, S> Freeze for NotebookRefBuilder<'a, S>
impl<'a, S> RefUnwindSafe for NotebookRefBuilder<'a, S>
impl<'a, S> Send for NotebookRefBuilder<'a, S>
impl<'a, S> Sync for NotebookRefBuilder<'a, S>
impl<'a, S> Unpin for NotebookRefBuilder<'a, S>
impl<'a, S> UnwindSafe for NotebookRefBuilder<'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