Struct adi_screen::WindowBuilder [−][src]
pub struct WindowBuilder { /* fields omitted */ }
A builder for Window
.
Methods
impl WindowBuilder
[src]
impl WindowBuilder
pub fn new(name: &str, icon: Option<Graphic>) -> Self
[src]
pub fn new(name: &str, icon: Option<Graphic>) -> Self
A new WindowBuilder
.
pub fn fog(self, fog_distance: f32, fog_depth: f32) -> Self
[src]
pub fn fog(self, fog_distance: f32, fog_depth: f32) -> Self
Set fog distance and fog depth, off by default.
pub fn background(self, r: f32, g: f32, b: f32) -> Self
[src]
pub fn background(self, r: f32, g: f32, b: f32) -> Self
Set background color, white by default.
pub fn finish(self) -> Window
[src]
pub fn finish(self) -> Window
Finish building the Window
.
Auto Trait Implementations
impl Send for WindowBuilder
impl Send for WindowBuilder
impl Sync for WindowBuilder
impl Sync for WindowBuilder