pub struct SelectionBoxOptions {
pub modifier: SelectionModifier,
pub fallback_size: Option<CanvasSize>,
}Expand description
Options for applying a marquee selection box.
Fields§
§modifier: SelectionModifierWhether the box result replaces or unions with the current selection.
fallback_size: Option<CanvasSize>Fallback size for nodes that do not have an explicit measured size.
Trait Implementations§
Source§impl Clone for SelectionBoxOptions
impl Clone for SelectionBoxOptions
Source§fn clone(&self) -> SelectionBoxOptions
fn clone(&self) -> SelectionBoxOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SelectionBoxOptions
Source§impl Debug for SelectionBoxOptions
impl Debug for SelectionBoxOptions
Source§impl Default for SelectionBoxOptions
impl Default for SelectionBoxOptions
Source§fn default() -> SelectionBoxOptions
fn default() -> SelectionBoxOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SelectionBoxOptions
impl<'de> Deserialize<'de> for SelectionBoxOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SelectionBoxOptions
impl PartialEq for SelectionBoxOptions
Source§fn eq(&self, other: &SelectionBoxOptions) -> bool
fn eq(&self, other: &SelectionBoxOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SelectionBoxOptions
impl Serialize for SelectionBoxOptions
impl StructuralPartialEq for SelectionBoxOptions
Auto Trait Implementations§
impl Freeze for SelectionBoxOptions
impl RefUnwindSafe for SelectionBoxOptions
impl Send for SelectionBoxOptions
impl Sync for SelectionBoxOptions
impl Unpin for SelectionBoxOptions
impl UnsafeUnpin for SelectionBoxOptions
impl UnwindSafe for SelectionBoxOptions
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