#[non_exhaustive]pub struct Notebook {
pub kernel_type: KernelType,
/* private fields */
}Expand description
Configuration for Notebook content.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kernel_type: KernelTypeRequired. Kernel Type of the notebook.
Implementations§
Source§impl Notebook
impl Notebook
pub fn new() -> Self
Sourcepub fn set_kernel_type<T: Into<KernelType>>(self, v: T) -> Self
pub fn set_kernel_type<T: Into<KernelType>>(self, v: T) -> Self
Sets the value of kernel_type.
Trait Implementations§
impl StructuralPartialEq for Notebook
Auto Trait Implementations§
impl Freeze for Notebook
impl RefUnwindSafe for Notebook
impl Send for Notebook
impl Sync for Notebook
impl Unpin for Notebook
impl UnwindSafe for Notebook
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