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