pub struct RadiantInteractionManager<M> {
pub bounding_box_interaction: BoundingBoxInteraction,
/* private fields */
}
Fields§
§bounding_box_interaction: BoundingBoxInteraction
Implementations§
Source§impl<M: From<RadiantSceneMessage> + TryInto<RadiantSceneMessage>> RadiantInteractionManager<M>
impl<M: From<RadiantSceneMessage> + TryInto<RadiantSceneMessage>> RadiantInteractionManager<M>
pub fn new() -> Self
pub fn is_interaction(&self, id: u64) -> bool
pub fn enable_interactions( &mut self, node: &impl RadiantNode, screen_descriptor: &ScreenDescriptor, )
pub fn disable_interactions(&mut self)
pub fn update_interactions( &mut self, node: &impl RadiantNode, screen_descriptor: &ScreenDescriptor, )
pub fn handle_interaction(&mut self, message: M) -> Option<M>
pub fn tessellate( &mut self, selection: bool, screen_descriptor: &ScreenDescriptor, fonts_manager: &Fonts, ) -> Vec<ClippedPrimitive>
Auto Trait Implementations§
impl<M> Freeze for RadiantInteractionManager<M>
impl<M> !RefUnwindSafe for RadiantInteractionManager<M>
impl<M> Send for RadiantInteractionManager<M>where
M: Send,
impl<M> Sync for RadiantInteractionManager<M>where
M: Sync,
impl<M> Unpin for RadiantInteractionManager<M>where
M: Unpin,
impl<M> !UnwindSafe for RadiantInteractionManager<M>
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