pub enum Statement<'a> {
Define((&'a str, &'a str)),
Variable((&'a str, Option<usize>, &'a str)),
Capability((&'a str, Capability<'a>)),
Keymap(Mapping<'a>),
Position((Indices, Position)),
Pixelmap((Indices, PixelDef)),
Animation((&'a str, Animation<'a>)),
Frame((&'a str, Indices, Vec<Pixel<'a>>)),
NOP,
}
Variants§
Define((&'a str, &'a str))
Variable((&'a str, Option<usize>, &'a str))
Capability((&'a str, Capability<'a>))
Keymap(Mapping<'a>)
Position((Indices, Position))
Pixelmap((Indices, PixelDef))
Animation((&'a str, Animation<'a>))
Frame((&'a str, Indices, Vec<Pixel<'a>>))
NOP
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Statement<'a>
impl<'a> RefUnwindSafe for Statement<'a>
impl<'a> Send for Statement<'a>
impl<'a> Sync for Statement<'a>
impl<'a> Unpin for Statement<'a>
impl<'a> UnwindSafe for Statement<'a>
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