pub struct BackendBuilder { /* private fields */ }
Implementations§
Source§impl BackendBuilder
impl BackendBuilder
pub fn with_renderer_name(self, name: String) -> Self
pub fn with_libinput_event_hook( self, event_hook: Box<dyn Fn(&Event) -> bool>, ) -> Self
pub fn build(self) -> Result<Backend, PlatformError>
Trait Implementations§
Source§impl Default for BackendBuilder
impl Default for BackendBuilder
Source§fn default() -> BackendBuilder
fn default() -> BackendBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BackendBuilder
impl !RefUnwindSafe for BackendBuilder
impl !Send for BackendBuilder
impl !Sync for BackendBuilder
impl Unpin for BackendBuilder
impl !UnwindSafe for BackendBuilder
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