Struct goxlr_profile_loader::profile::Profile
source · [−]pub struct Profile { /* private fields */ }
Implementations
sourceimpl Profile
impl Profile
pub fn load<R: Read + Seek>(read: R) -> Result<Self, ParseError>
pub fn save(&self, path: impl AsRef<Path>) -> Result<(), SaveError>
pub fn settings(&self) -> &ProfileSettings
pub fn settings_mut(&mut self) -> &mut ProfileSettings
pub fn get_scribble(&self, id: usize) -> &Vec<u8>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more