pub struct Decor<R: Runtime> { /* private fields */ }Implementations§
Source§impl<R: Runtime> Decor<R>
impl<R: Runtime> Decor<R>
pub fn new(app: AppHandle<R>) -> Self
pub fn reconfigure(&self, style: DecorStyle)
pub fn set_controls_height(&self, height: f64)
pub fn set_controls_inset_x(&self, inset: f64)
pub fn set_controls_spacing(&self, spacing: f64)
pub fn set_controls_scale(&self, scale: f64)
pub fn set_controls_close_hover_bg(&self, color: impl Into<String>)
Auto Trait Implementations§
impl<R> Freeze for Decor<R>
impl<R> !RefUnwindSafe for Decor<R>
impl<R> Send for Decor<R>
impl<R> Sync for Decor<R>
impl<R> Unpin for Decor<R>
impl<R> UnsafeUnpin for Decor<R>
impl<R> !UnwindSafe for Decor<R>
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