Struct oxygengine_ha_renderer::material::domains::surface::grid::SurfaceGridFactory
source · pub struct SurfaceGridFactory {
pub cols: usize,
pub rows: usize,
pub cell_size: Vec2<f32>,
pub color: Vec4<f32>,
}Fields§
§cols: usize§rows: usize§cell_size: Vec2<f32>§color: Vec4<f32>Implementations§
Trait Implementations§
source§impl Clone for SurfaceGridFactory
impl Clone for SurfaceGridFactory
source§fn clone(&self) -> SurfaceGridFactory
fn clone(&self) -> SurfaceGridFactory
Returns a copy 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 SurfaceGridFactory
impl Debug for SurfaceGridFactory
source§impl Default for SurfaceGridFactory
impl Default for SurfaceGridFactory
source§impl<'de> Deserialize<'de> for SurfaceGridFactory
impl<'de> Deserialize<'de> for SurfaceGridFactory
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 Serialize for SurfaceGridFactory
impl Serialize for SurfaceGridFactory
impl Copy for SurfaceGridFactory
Auto Trait Implementations§
impl RefUnwindSafe for SurfaceGridFactory
impl Send for SurfaceGridFactory
impl Sync for SurfaceGridFactory
impl Unpin for SurfaceGridFactory
impl UnwindSafe for SurfaceGridFactory
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<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more