pub struct RadiantGroupNode<N: RadiantNode> {
pub id: u64,
pub selection: SelectionComponent,
pub nodes: BTreeMap<u64, N>,
}
Fields§
§id: u64
§selection: SelectionComponent
§nodes: BTreeMap<u64, N>
Implementations§
Trait Implementations§
Source§impl<N: Clone + RadiantNode> Clone for RadiantGroupNode<N>
impl<N: Clone + RadiantNode> Clone for RadiantGroupNode<N>
Source§fn clone(&self) -> RadiantGroupNode<N>
fn clone(&self) -> RadiantGroupNode<N>
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<N: Debug + RadiantNode> Debug for RadiantGroupNode<N>
impl<N: Debug + RadiantNode> Debug for RadiantGroupNode<N>
Source§impl<'de, N> Deserialize<'de> for RadiantGroupNode<N>where
N: Deserialize<'de> + RadiantNode,
impl<'de, N> Deserialize<'de> for RadiantGroupNode<N>where
N: Deserialize<'de> + RadiantNode,
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<N: RadiantNode> RadiantComponentProvider for RadiantGroupNode<N>
impl<N: RadiantNode> RadiantComponentProvider for RadiantGroupNode<N>
fn get_component<T: RadiantComponent + 'static>(&self) -> Option<&T>
fn get_component_mut<T: RadiantComponent + 'static>(&mut self) -> Option<&mut T>
Source§impl<N: RadiantNode> RadiantNode for RadiantGroupNode<N>
impl<N: RadiantNode> RadiantNode for RadiantGroupNode<N>
Source§impl<N: RadiantNode> RadiantTessellatable for RadiantGroupNode<N>
impl<N: RadiantNode> RadiantTessellatable for RadiantGroupNode<N>
fn attach(&mut self, screen_descriptor: &ScreenDescriptor)
fn detach(&mut self)
fn set_needs_tessellation(&mut self)
fn tessellate( &mut self, selection: bool, screen_descriptor: &ScreenDescriptor, fonts_manager: &Fonts, ) -> Vec<ClippedPrimitive>
Source§impl<N> Serialize for RadiantGroupNode<N>where
N: Serialize + RadiantNode,
impl<N> Serialize for RadiantGroupNode<N>where
N: Serialize + RadiantNode,
Auto Trait Implementations§
impl<N> Freeze for RadiantGroupNode<N>
impl<N> RefUnwindSafe for RadiantGroupNode<N>where
N: RefUnwindSafe,
impl<N> Send for RadiantGroupNode<N>where
N: Send,
impl<N> Sync for RadiantGroupNode<N>where
N: Sync,
impl<N> Unpin for RadiantGroupNode<N>
impl<N> UnwindSafe for RadiantGroupNode<N>where
N: RefUnwindSafe,
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