Struct oxygengine_ha_renderer::mesh::geometry::GeometryPoint
source · pub struct GeometryPoint {
pub index: usize,
pub attributes: GeometryAttributes,
}Fields§
§index: usize§attributes: GeometryAttributesImplementations§
source§impl GeometryPoint
impl GeometryPoint
pub fn new(index: usize) -> Self
pub fn with_attribute(self, name: impl ToString, value: GeometryValue) -> Self
Trait Implementations§
source§impl Clone for GeometryPoint
impl Clone for GeometryPoint
source§fn clone(&self) -> GeometryPoint
fn clone(&self) -> GeometryPoint
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 GeometryPoint
impl Debug for GeometryPoint
source§impl Default for GeometryPoint
impl Default for GeometryPoint
source§fn default() -> GeometryPoint
fn default() -> GeometryPoint
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GeometryPoint
impl<'de> Deserialize<'de> for GeometryPoint
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 From<usize> for GeometryPoint
impl From<usize> for GeometryPoint
source§impl FromIterator<GeometryPoint> for GeometryPoints
impl FromIterator<GeometryPoint> for GeometryPoints
source§fn from_iter<I: IntoIterator<Item = GeometryPoint>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = GeometryPoint>>(iter: I) -> Self
Creates a value from an iterator. Read more
source§impl PartialEq<GeometryPoint> for GeometryPoint
impl PartialEq<GeometryPoint> for GeometryPoint
source§fn eq(&self, other: &GeometryPoint) -> bool
fn eq(&self, other: &GeometryPoint) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for GeometryPoint
impl Serialize for GeometryPoint
impl StructuralPartialEq for GeometryPoint
Auto Trait Implementations§
impl RefUnwindSafe for GeometryPoint
impl Send for GeometryPoint
impl Sync for GeometryPoint
impl Unpin for GeometryPoint
impl UnwindSafe for GeometryPoint
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