pub struct GuiRenderer<'a> {
pub texture_filtering: GlowTextureFiltering,
pub draw: &'a mut DrawContext,
pub graphics: &'a mut Graphics<Vertex>,
pub colored_shader: &'a ShaderRef,
pub textured_shader: &'a ShaderRef,
pub text_shader: &'a ShaderRef,
}
Fields§
§texture_filtering: GlowTextureFiltering
§draw: &'a mut DrawContext
§graphics: &'a mut Graphics<Vertex>
§colored_shader: &'a ShaderRef
§textured_shader: &'a ShaderRef
§text_shader: &'a ShaderRef
Trait Implementations§
Source§impl<'a> Renderer<(), ()> for GuiRenderer<'a>
impl<'a> Renderer<(), ()> for GuiRenderer<'a>
fn render( &mut self, tree: &WidgetUnit, mapping: &CoordsMapping, layout: &Layout, ) -> Result<(), ()>
Auto Trait Implementations§
impl<'a> Freeze for GuiRenderer<'a>
impl<'a> !RefUnwindSafe for GuiRenderer<'a>
impl<'a> !Send for GuiRenderer<'a>
impl<'a> !Sync for GuiRenderer<'a>
impl<'a> Unpin for GuiRenderer<'a>
impl<'a> !UnwindSafe for GuiRenderer<'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