#[repr(u32)]pub enum Renderer {
GLSL = 0,
OpenGL = 1,
SDL = 2,
}
Expand description
All the possible renderers used by the Root
console
Variants§
Trait Implementations§
Source§impl From<Renderer> for TCOD_renderer_t
impl From<Renderer> for TCOD_renderer_t
Source§fn from(other: Renderer) -> TCOD_renderer_t
fn from(other: Renderer) -> TCOD_renderer_t
Converts to this type from the input type.
impl Copy for Renderer
Auto Trait Implementations§
impl Freeze for Renderer
impl RefUnwindSafe for Renderer
impl Send for Renderer
impl Sync for Renderer
impl Unpin for Renderer
impl UnwindSafe for Renderer
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