pub struct FramePluginBuilder { /* private fields */ }Expand description
Builder for the frame plugin
Implementations§
Source§impl FramePluginBuilder
impl FramePluginBuilder
pub fn new() -> Self
Sourcepub fn titlebar_height(self, height: u32) -> Self
pub fn titlebar_height(self, height: u32) -> Self
Set the titlebar height in pixels (default: 32)
Sourcepub fn auto_titlebar(self, auto: bool) -> Self
pub fn auto_titlebar(self, auto: bool) -> Self
Automatically apply titlebar to all windows (default: false)
Sourcepub fn build<R: Runtime>(self) -> TauriPlugin<R>
pub fn build<R: Runtime>(self) -> TauriPlugin<R>
Build the plugin
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FramePluginBuilder
impl RefUnwindSafe for FramePluginBuilder
impl Send for FramePluginBuilder
impl Sync for FramePluginBuilder
impl Unpin for FramePluginBuilder
impl UnwindSafe for FramePluginBuilder
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