Struct genanki_rs::Package [−][src]
pub struct Package { /* fields omitted */ }
Implementations
impl Package
[src]
impl Package
[src]pub fn new(decks: Vec<Deck>, media_files: Vec<&str>) -> Result<Self, Error>
[src]
pub fn write_to_file(&mut self, file: &str) -> Result<(), Error>
[src]
pub fn write_to_file_timestamp(
&mut self,
file: &str,
timestamp: f64
) -> Result<(), Error>
[src]
&mut self,
file: &str,
timestamp: f64
) -> Result<(), Error>
pub fn write_to_db(
&mut self,
transaction: &Transaction<'_>,
timestamp: f64
) -> Result<(), Error>
[src]
&mut self,
transaction: &Transaction<'_>,
timestamp: f64
) -> Result<(), Error>
Auto Trait Implementations
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,