Struct oxygengine_ha_renderer::mesh::geometry::GeometryPoints
source · pub struct GeometryPoints {
pub items: Vec<GeometryPoint>,
pub attributes: GeometryAttributes,
}Fields§
§items: Vec<GeometryPoint>§attributes: GeometryAttributesImplementations§
source§impl GeometryPoints
impl GeometryPoints
pub fn with(self, point: impl Into<GeometryPoint>) -> Self
pub fn with_attribute(self, name: impl ToString, value: GeometryValue) -> Self
Trait Implementations§
source§impl Clone for GeometryPoints
impl Clone for GeometryPoints
source§fn clone(&self) -> GeometryPoints
fn clone(&self) -> GeometryPoints
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 GeometryPoints
impl Debug for GeometryPoints
source§impl Default for GeometryPoints
impl Default for GeometryPoints
source§fn default() -> GeometryPoints
fn default() -> GeometryPoints
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GeometryPoints
impl<'de> Deserialize<'de> for GeometryPoints
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<&[GeometryPoint]> for GeometryPoints
impl From<&[GeometryPoint]> for GeometryPoints
source§fn from(items: &[GeometryPoint]) -> Self
fn from(items: &[GeometryPoint]) -> Self
Converts to this type from the input type.
source§impl From<()> for GeometryPoints
impl From<()> for GeometryPoints
source§impl From<Vec<GeometryPoint, Global>> for GeometryPoints
impl From<Vec<GeometryPoint, Global>> for GeometryPoints
source§fn from(items: Vec<GeometryPoint>) -> Self
fn from(items: Vec<GeometryPoint>) -> Self
Converts to this type from the input type.
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<GeometryPoints> for GeometryPoints
impl PartialEq<GeometryPoints> for GeometryPoints
source§fn eq(&self, other: &GeometryPoints) -> bool
fn eq(&self, other: &GeometryPoints) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for GeometryPoints
impl Serialize for GeometryPoints
impl StructuralPartialEq for GeometryPoints
Auto Trait Implementations§
impl RefUnwindSafe for GeometryPoints
impl Send for GeometryPoints
impl Sync for GeometryPoints
impl Unpin for GeometryPoints
impl UnwindSafe for GeometryPoints
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