pub struct RadiantRectangleNode {
pub id: u64,
pub transform: TransformComponent,
pub selection: SelectionComponent,
pub color: ColorComponent,
pub primitives: Vec<ClippedPrimitive>,
pub selection_primitives: Vec<ClippedPrimitive>,
pub needs_tessellation: bool,
pub bounding_rect: [f32; 4],
}
Fields§
§id: u64
§transform: TransformComponent
§selection: SelectionComponent
§color: ColorComponent
§primitives: Vec<ClippedPrimitive>
§selection_primitives: Vec<ClippedPrimitive>
§needs_tessellation: bool
§bounding_rect: [f32; 4]
Implementations§
Trait Implementations§
Source§impl Clone for RadiantRectangleNode
impl Clone for RadiantRectangleNode
Source§fn clone(&self) -> RadiantRectangleNode
fn clone(&self) -> RadiantRectangleNode
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 RadiantRectangleNode
impl Debug for RadiantRectangleNode
Source§impl<'de> Deserialize<'de> for RadiantRectangleNode
impl<'de> Deserialize<'de> for RadiantRectangleNode
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 RadiantComponentProvider for RadiantRectangleNode
impl RadiantComponentProvider for RadiantRectangleNode
fn get_component<T: RadiantComponent + 'static>(&self) -> Option<&T>
fn get_component_mut<T: RadiantComponent + 'static>(&mut self) -> Option<&mut T>
Source§impl RadiantNode for RadiantRectangleNode
impl RadiantNode for RadiantRectangleNode
Source§impl RadiantTessellatable for RadiantRectangleNode
impl RadiantTessellatable for RadiantRectangleNode
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>
Auto Trait Implementations§
impl Freeze for RadiantRectangleNode
impl !RefUnwindSafe for RadiantRectangleNode
impl Send for RadiantRectangleNode
impl Sync for RadiantRectangleNode
impl Unpin for RadiantRectangleNode
impl !UnwindSafe for RadiantRectangleNode
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