pub struct Selection {
pub bg_fill: Color32,
pub stroke: Stroke,
}Expand description
Selected text, selected elements etc
Fields§
§bg_fill: Color32§stroke: StrokeImplementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Selectionwhere
Selection: Default,
impl<'de> Deserialize<'de> for Selectionwhere Selection: Default,
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<Selection> for Selection
impl PartialEq<Selection> for Selection
impl Copy for Selection
impl StructuralPartialEq for Selection
Auto Trait Implementations§
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnwindSafe for Selection
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