pub struct RadiantPathNode {
pub id: u64,
pub transform: TransformComponent,
pub selection: SelectionComponent,
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§primitives: Vec<ClippedPrimitive>§selection_primitives: Vec<ClippedPrimitive>§needs_tessellation: bool§bounding_rect: [f32; 4]Implementations§
Trait Implementations§
Source§impl Clone for RadiantPathNode
impl Clone for RadiantPathNode
Source§fn clone(&self) -> RadiantPathNode
fn clone(&self) -> RadiantPathNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RadiantPathNode
impl Debug for RadiantPathNode
Source§impl<'de> Deserialize<'de> for RadiantPathNode
impl<'de> Deserialize<'de> for RadiantPathNode
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 RadiantPathNode
impl RadiantComponentProvider for RadiantPathNode
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 RadiantPathNode
impl RadiantNode for RadiantPathNode
Source§impl RadiantTessellatable for RadiantPathNode
impl RadiantTessellatable for RadiantPathNode
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 !RefUnwindSafe for RadiantPathNode
impl !UnwindSafe for RadiantPathNode
impl Freeze for RadiantPathNode
impl Send for RadiantPathNode
impl Sync for RadiantPathNode
impl Unpin for RadiantPathNode
impl UnsafeUnpin for RadiantPathNode
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