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