pub struct MlModelCard { /* private fields */ }Implementations§
Source§impl MlModelCard
impl MlModelCard
Sourcepub fn new(name: MlModelCardName) -> Self
pub fn new(name: MlModelCardName) -> Self
Sourcepub fn name(&self) -> &MlModelCardName
pub fn name(&self) -> &MlModelCardName
Sourcepub fn sections(&self) -> &[MlModelCardSection]
pub fn sections(&self) -> &[MlModelCardSection]
Sourcepub fn with_section(self, section: MlModelCardSection) -> Self
pub fn with_section(self, section: MlModelCardSection) -> Self
Trait Implementations§
Source§impl Clone for MlModelCard
impl Clone for MlModelCard
Source§fn clone(&self) -> MlModelCard
fn clone(&self) -> MlModelCard
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MlModelCard
impl Debug for MlModelCard
Source§impl PartialEq for MlModelCard
impl PartialEq for MlModelCard
Source§fn eq(&self, other: &MlModelCard) -> bool
fn eq(&self, other: &MlModelCard) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MlModelCard
impl StructuralPartialEq for MlModelCard
Auto Trait Implementations§
impl Freeze for MlModelCard
impl RefUnwindSafe for MlModelCard
impl Send for MlModelCard
impl Sync for MlModelCard
impl Unpin for MlModelCard
impl UnsafeUnpin for MlModelCard
impl UnwindSafe for MlModelCard
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