Struct goxlr_profile_loader::components::root::RootElement
source · [−]pub struct RootElement { /* private fields */ }
Expand description
These have no special properties, they are literally just button colours..
Implementations
sourceimpl RootElement
impl RootElement
pub fn new() -> Self
pub fn parse_root(
&mut self,
attributes: &[OwnedAttribute]
) -> Result<(), ParseError>
pub fn write_initial<W: Write>(
&self,
writer: &mut EventWriter<&mut W>
) -> Result<(), Error>
pub fn write_final<W: Write>(
&self,
writer: &mut EventWriter<&mut W>
) -> Result<(), Error>
pub fn get_version(&self) -> u8
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RootElement
impl Send for RootElement
impl Sync for RootElement
impl Unpin for RootElement
impl UnwindSafe for RootElement
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