pub struct BoundingBoxInteraction {
pub active_node_id: Option<u64>,
pub nodes: Vec<RadiantLineNode>,
pub corner_nodes: Vec<RadiantRectangleNode>,
pub primitives: Vec<ClippedPrimitive>,
pub selection_primitives: Vec<ClippedPrimitive>,
}
Fields§
§active_node_id: Option<u64>
§nodes: Vec<RadiantLineNode>
§corner_nodes: Vec<RadiantRectangleNode>
§primitives: Vec<ClippedPrimitive>
§selection_primitives: Vec<ClippedPrimitive>
Implementations§
Source§impl BoundingBoxInteraction
impl BoundingBoxInteraction
pub fn contains(&self, id: u64) -> bool
pub fn enable( &mut self, node: &impl RadiantNode, _screen_descriptor: &ScreenDescriptor, )
pub fn disable(&mut self)
pub fn update( &mut self, node: &impl RadiantNode, screen_descriptor: &ScreenDescriptor, )
Source§impl BoundingBoxInteraction
impl BoundingBoxInteraction
pub fn tessellate( &mut self, selection: bool, screen_descriptor: &ScreenDescriptor, fonts_manager: &Fonts, ) -> Vec<ClippedPrimitive>
Trait Implementations§
Source§impl Clone for BoundingBoxInteraction
impl Clone for BoundingBoxInteraction
Source§fn clone(&self) -> BoundingBoxInteraction
fn clone(&self) -> BoundingBoxInteraction
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 BoundingBoxInteraction
impl Debug for BoundingBoxInteraction
Source§impl Default for BoundingBoxInteraction
impl Default for BoundingBoxInteraction
Source§impl RadiantInteraction for BoundingBoxInteraction
impl RadiantInteraction for BoundingBoxInteraction
fn get_primitives(&self, selection: bool) -> Vec<ClippedPrimitive>
Auto Trait Implementations§
impl Freeze for BoundingBoxInteraction
impl !RefUnwindSafe for BoundingBoxInteraction
impl Send for BoundingBoxInteraction
impl Sync for BoundingBoxInteraction
impl Unpin for BoundingBoxInteraction
impl !UnwindSafe for BoundingBoxInteraction
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