pub struct ComponentRenderBuffer {
pub _data_dict: HashMap<BuffDataType, Vec<f32>>,
}Fields§
§_data_dict: HashMap<BuffDataType, Vec<f32>>Implementations§
Source§impl ComponentRenderBuffer
impl ComponentRenderBuffer
Sourcepub fn flush_into_render_device(
&self,
rd: &mut dyn RenderDevice,
) -> Result<(), &'static str>
pub fn flush_into_render_device( &self, rd: &mut dyn RenderDevice, ) -> Result<(), &'static str>
§this dumps the data to render device
Trait Implementations§
Source§impl Clone for ComponentRenderBuffer
impl Clone for ComponentRenderBuffer
Source§fn clone(&self) -> ComponentRenderBuffer
fn clone(&self) -> ComponentRenderBuffer
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 IComponent for ComponentRenderBuffer
impl IComponent for ComponentRenderBuffer
Auto Trait Implementations§
impl Freeze for ComponentRenderBuffer
impl RefUnwindSafe for ComponentRenderBuffer
impl Send for ComponentRenderBuffer
impl Sync for ComponentRenderBuffer
impl Unpin for ComponentRenderBuffer
impl UnwindSafe for ComponentRenderBuffer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IComponentClone for Twhere
T: 'static + IComponent + Clone,
impl<T> IComponentClone for Twhere
T: 'static + IComponent + Clone,
fn clone_box(&self) -> Box<dyn IComponent>
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