pub struct SurfaceOptions {
pub catalog_id: String,
pub theme: Option<Arc<ResolvedTheme>>,
pub mode: Mode,
pub extensions: Vec<ExtensionDef>,
pub rounding: bool,
pub expand_controls: Option<bool>,
}Fields§
§catalog_id: String§theme: Option<Arc<ResolvedTheme>>None = no theme: geometry mode (no recipes, styles verbatim).
mode: Mode§extensions: Vec<ExtensionDef>§rounding: bool§expand_controls: Option<bool>Expand form controls into their parts (default: when themed). Off = geometry mode: every native is ONE measured leaf.
Trait Implementations§
Source§impl Clone for SurfaceOptions
impl Clone for SurfaceOptions
Source§impl Debug for SurfaceOptions
impl Debug for SurfaceOptions
Auto Trait Implementations§
impl Freeze for SurfaceOptions
impl RefUnwindSafe for SurfaceOptions
impl Send for SurfaceOptions
impl Sync for SurfaceOptions
impl Unpin for SurfaceOptions
impl UnsafeUnpin for SurfaceOptions
impl UnwindSafe for SurfaceOptions
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