pub struct PlotterQuad(pub [PlotterPoint; 4]);Expand description
Four pad-local trapezoid corners.
JSON schema
{
"description": "Four pad-local trapezoid corners.",
"type": "array",
"items": {
"$ref": "#/$defs/PlotterPoint"
},
"maxItems": 4,
"minItems": 4
}Tuple Fields§
§0: [PlotterPoint; 4]Trait Implementations§
Source§impl Clone for PlotterQuad
impl Clone for PlotterQuad
Source§fn clone(&self) -> PlotterQuad
fn clone(&self) -> PlotterQuad
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlotterQuad
impl Debug for PlotterQuad
Source§impl Deref for PlotterQuad
impl Deref for PlotterQuad
Source§type Target = [PlotterPoint; 4]
type Target = [PlotterPoint; 4]
The resulting type after dereferencing.
Source§fn deref(&self) -> &[PlotterPoint; 4]
fn deref(&self) -> &[PlotterPoint; 4]
Dereferences the value.
Source§impl<'de> Deserialize<'de> for PlotterQuad
impl<'de> Deserialize<'de> for PlotterQuad
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<PlotterQuad> for [PlotterPoint; 4]
impl From<PlotterQuad> for [PlotterPoint; 4]
Source§fn from(value: PlotterQuad) -> Self
fn from(value: PlotterQuad) -> Self
Converts to this type from the input type.
Source§impl From<[PlotterPoint; 4]> for PlotterQuad
impl From<[PlotterPoint; 4]> for PlotterQuad
Source§fn from(value: [PlotterPoint; 4]) -> Self
fn from(value: [PlotterPoint; 4]) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PlotterQuad
impl RefUnwindSafe for PlotterQuad
impl Send for PlotterQuad
impl Sync for PlotterQuad
impl Unpin for PlotterQuad
impl UnsafeUnpin for PlotterQuad
impl UnwindSafe for PlotterQuad
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