Enum tauri_utils::html::PatternObject
source · pub enum PatternObject {
Brownfield,
Isolation {
side: IsolationSide,
},
}
Expand description
The shape of the JavaScript Pattern config
Variants
Brownfield
Brownfield pattern.
Isolation
Fields
side: IsolationSide
Which IsolationSide
this PatternObject
is getting injected into
Isolation pattern. Recommended for security purposes.
Trait Implementations
sourceimpl Debug for PatternObject
impl Debug for PatternObject
sourceimpl From<&PatternKind> for PatternObject
impl From<&PatternKind> for PatternObject
sourcefn from(pattern_kind: &PatternKind) -> Self
fn from(pattern_kind: &PatternKind) -> Self
Converts to this type from the input type.
sourceimpl Serialize for PatternObject
impl Serialize for PatternObject
Auto Trait Implementations
impl RefUnwindSafe for PatternObject
impl Send for PatternObject
impl Sync for PatternObject
impl Unpin for PatternObject
impl UnwindSafe for PatternObject
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more