pub struct ApkgBuilder { /* private fields */ }Expand description
Builder for creating .apkg files from deck definitions.
Implementations§
Source§impl ApkgBuilder
impl ApkgBuilder
Sourcepub fn new(definition: DeckDefinition) -> Self
pub fn new(definition: DeckDefinition) -> Self
Create a new builder from a deck definition.
Sourcepub fn media_base_path(self, path: impl AsRef<Path>) -> Self
pub fn media_base_path(self, path: impl AsRef<Path>) -> Self
Set the base path for resolving media file paths.
Auto Trait Implementations§
impl Forget for ApkgBuilder
impl Freeze for ApkgBuilder
impl RefUnwindSafe for ApkgBuilder
impl Send for ApkgBuilder
impl Sync for ApkgBuilder
impl Unpin for ApkgBuilder
impl UnsafeUnpin for ApkgBuilder
impl UnwindSafe for ApkgBuilder
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