pub struct Deck { /* private fields */ }
Expand description
Represents an Anki deck
Implementations§
Source§impl Deck
impl Deck
Sourcepub fn is_subdeck(&self) -> bool
pub fn is_subdeck(&self) -> bool
Checks if this deck is a subdeck
Sourcepub fn parent_name(&self) -> Option<&str>
pub fn parent_name(&self) -> Option<&str>
Gets the parent deck name, if this is a subdeck
Trait Implementations§
impl Eq for Deck
impl StructuralPartialEq for Deck
Auto Trait Implementations§
impl Freeze for Deck
impl RefUnwindSafe for Deck
impl Send for Deck
impl Sync for Deck
impl Unpin for Deck
impl UnwindSafe for Deck
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