pub struct EditorConstraints {
pub min: Size,
pub max: Size,
pub resizable: bool,
}Expand description
Size constraints for the plugin editor.
Fields§
§min: SizeMinimum size.
max: SizeMaximum size.
resizable: boolWhether the editor is resizable.
Trait Implementations§
Source§impl Clone for EditorConstraints
impl Clone for EditorConstraints
Source§fn clone(&self) -> EditorConstraints
fn clone(&self) -> EditorConstraints
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EditorConstraints
impl Debug for EditorConstraints
Source§impl Default for EditorConstraints
impl Default for EditorConstraints
impl Copy for EditorConstraints
Auto Trait Implementations§
impl Freeze for EditorConstraints
impl RefUnwindSafe for EditorConstraints
impl Send for EditorConstraints
impl Sync for EditorConstraints
impl Unpin for EditorConstraints
impl UnwindSafe for EditorConstraints
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