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
Isolation pattern. Recommended for security purposes.
Fields
§
side: IsolationSide
Which IsolationSide
this PatternObject
is getting injected into
Trait Implementations§
source§impl Debug for PatternObject
impl Debug for PatternObject
source§impl From<&PatternKind> for PatternObject
impl From<&PatternKind> for PatternObject
source§fn from(pattern_kind: &PatternKind) -> Self
fn from(pattern_kind: &PatternKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PatternObject
impl RefUnwindSafe for PatternObject
impl Send for PatternObject
impl Sync for PatternObject
impl Unpin for PatternObject
impl UnwindSafe for PatternObject
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