pub struct Builder { /* private fields */ }Expand description
Plugin builder.
Implementations§
Source§impl Builder
impl Builder
pub fn new() -> Self
Sourcepub fn path_filter<F>(self, filter: F) -> Self
pub fn path_filter<F>(self, filter: F) -> Self
Restrict which paths the frontend may drag as file / copy items.
Items built in Rust are not filtered. Without a filter every readable path is allowed.
pub fn build<R: Runtime>(self) -> TauriPlugin<R>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Builder
impl !UnwindSafe for Builder
impl Freeze for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnsafeUnpin for Builder
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