Function smithay::backend::winit::init_from_builder[][src]

pub fn init_from_builder<L>(
    builder: WindowBuilder,
    logger: L
) -> Result<(WinitGraphicsBackend, WinitInputBackend), Error> where
    L: Into<Option<Logger>>, 
Expand description

Create a new WinitGraphicsBackend, which implements the Renderer trait, from a given WindowBuilder struct and a corresponding WinitInputBackend, which implements the InputBackend trait