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