Struct iced_renderer::Settings
source · pub struct Settings {
pub default_font: Font,
pub default_text_size: Pixels,
pub antialiasing: Option<Antialiasing>,
}
Expand description
The settings of a Backend.
Fields§
§default_font: Font
The default [Font
] to use.
default_text_size: Pixels
The default size of text.
By default, it will be set to 16.0
.
antialiasing: Option<Antialiasing>
The antialiasing strategy that will be used for triangle primitives.
By default, it is None
.
Trait Implementations§
source§impl PartialEq for Settings
impl PartialEq for Settings
impl Copy for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin 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