pub struct Overlay {
pub markers: Vec<Marker>,
pub marquee: Option<Aabb>,
pub crossing: bool,
pub guides: Vec<Segment>,
pub sketch: Vec<Shape>,
}Expand description
Interaction overlay (selection grips, snap marker, marquee, guides), set by the host UI directly on the renderer; it is not part of the document.
Fields§
§markers: Vec<Marker>Markers.
marquee: Option<Aabb>Selection rectangle (world).
crossing: boolWhether the marquee is a crossing (dashed) selection.
guides: Vec<Segment>Construction guides (world).
sketch: Vec<Shape>In-progress drawing preview shapes (world), drawn with the preview style.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Overlay
impl<'de> Deserialize<'de> for Overlay
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
impl StructuralPartialEq for Overlay
Auto Trait Implementations§
impl Freeze for Overlay
impl RefUnwindSafe for Overlay
impl Send for Overlay
impl Sync for Overlay
impl Unpin for Overlay
impl UnsafeUnpin for Overlay
impl UnwindSafe for Overlay
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