pub struct Settings {
pub present_mode: PresentMode,
pub backends: Backends,
pub antialiasing: Option<Antialiasing>,
}Expand description
The settings of a Compositor.
Fields§
§present_mode: PresentModeThe present mode of the Renderer.
backends: BackendsThe graphics backends to use.
antialiasing: Option<Antialiasing>The antialiasing strategy that will be used for triangle primitives.
By default, it is None.
Trait Implementations§
impl Copy for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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