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 (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 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<RadiantRectangleNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RadiantRectangleNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<RadiantRectangleNode> for RadiantNodeType
impl From<RadiantRectangleNode> for RadiantNodeType
Source§fn from(node: RadiantRectangleNode) -> Self
fn from(node: RadiantRectangleNode) -> Self
Converts to this type from the input type.
Source§impl RadiantComponentProvider for RadiantRectangleNode
impl RadiantComponentProvider for RadiantRectangleNode
fn get_component<T>(&self) -> Option<&T>where
T: RadiantComponent + 'static,
fn get_component_mut<T>(&mut self) -> Option<&mut T>where
T: RadiantComponent + 'static,
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>
Source§impl Serialize for RadiantRectangleNode
impl Serialize for RadiantRectangleNode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for RadiantRectangleNode
impl !UnwindSafe for RadiantRectangleNode
impl Freeze for RadiantRectangleNode
impl Send for RadiantRectangleNode
impl Sync for RadiantRectangleNode
impl Unpin for RadiantRectangleNode
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more