pub struct CustomOptions {
pub overlay: bool,
pub overlay_options: Value,
}Expand description
The options of pi’s custom: how a custom component is shown.
Fields§
§overlay: boolOver the screen instead of in the editor’s place.
overlay_options: Valuepi’s OverlayOptions: anchor, size and margins.
Trait Implementations§
Source§impl Clone for CustomOptions
impl Clone for CustomOptions
Source§impl Debug for CustomOptions
impl Debug for CustomOptions
Auto Trait Implementations§
impl Freeze for CustomOptions
impl RefUnwindSafe for CustomOptions
impl Send for CustomOptions
impl Sync for CustomOptions
impl Unpin for CustomOptions
impl UnsafeUnpin for CustomOptions
impl UnwindSafe for CustomOptions
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