Struct rutabaga_gfx::snapshot::RutabagaSnapshotWriter
source · pub struct RutabagaSnapshotWriter {
dir: PathBuf,
}
Fields§
§dir: PathBuf
Implementations§
source§impl RutabagaSnapshotWriter
impl RutabagaSnapshotWriter
pub fn from_existing(directory: PathBuf) -> Self
pub fn get_path(&self) -> PathBuf
pub fn add_namespace(&self, name: &str) -> RutabagaResult<Self>
pub fn add_fragment<T: Serialize>( &self, name: &str, t: &T ) -> RutabagaResult<()>
Auto Trait Implementations§
impl RefUnwindSafe for RutabagaSnapshotWriter
impl Send for RutabagaSnapshotWriter
impl Sync for RutabagaSnapshotWriter
impl Unpin for RutabagaSnapshotWriter
impl UnwindSafe for RutabagaSnapshotWriter
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