pub struct InternalRenderCommand<CustomElementData: Clone + Default + Debug = ()> {
pub bounding_box: BoundingBox,
pub command_type: RenderCommandType,
pub render_data: InternalRenderData<CustomElementData>,
pub user_data: usize,
pub id: u32,
pub z_index: i16,
pub effects: Vec<ShaderConfig>,
pub visual_rotation: Option<VisualRotationConfig>,
pub shape_rotation: Option<ShapeRotationConfig>,
}Fields§
§bounding_box: BoundingBox§command_type: RenderCommandType§render_data: InternalRenderData<CustomElementData>§user_data: usize§id: u32§z_index: i16§effects: Vec<ShaderConfig>§visual_rotation: Option<VisualRotationConfig>§shape_rotation: Option<ShapeRotationConfig>Trait Implementations§
Source§impl<CustomElementData: Clone + Clone + Default + Debug> Clone for InternalRenderCommand<CustomElementData>
impl<CustomElementData: Clone + Clone + Default + Debug> Clone for InternalRenderCommand<CustomElementData>
Source§fn clone(&self) -> InternalRenderCommand<CustomElementData>
fn clone(&self) -> InternalRenderCommand<CustomElementData>
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 moreAuto Trait Implementations§
impl<CustomElementData> Freeze for InternalRenderCommand<CustomElementData>where
CustomElementData: Freeze,
impl<CustomElementData> RefUnwindSafe for InternalRenderCommand<CustomElementData>where
CustomElementData: RefUnwindSafe,
impl<CustomElementData> Send for InternalRenderCommand<CustomElementData>where
CustomElementData: Send,
impl<CustomElementData> Sync for InternalRenderCommand<CustomElementData>where
CustomElementData: Sync,
impl<CustomElementData> Unpin for InternalRenderCommand<CustomElementData>where
CustomElementData: Unpin,
impl<CustomElementData> UnsafeUnpin for InternalRenderCommand<CustomElementData>where
CustomElementData: UnsafeUnpin,
impl<CustomElementData> UnwindSafe for InternalRenderCommand<CustomElementData>where
CustomElementData: UnwindSafe,
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