pub struct TextRenderCachePolygon {
pub contours: Vec<Vec<PlotterPoint>>,
}Expand description
One render-cache polygon as ordered contours, exterior ring first.
JSON schema
{
"description": "One render-cache polygon as ordered contours, exterior ring first.",
"type": "object",
"required": [
"contours"
],
"properties": {
"contours": {
"type": "array",
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/PlotterPoint"
}
}
}
},
"additionalProperties": false
}Fields§
§contours: Vec<Vec<PlotterPoint>>Trait Implementations§
Source§impl Clone for TextRenderCachePolygon
impl Clone for TextRenderCachePolygon
Source§fn clone(&self) -> TextRenderCachePolygon
fn clone(&self) -> TextRenderCachePolygon
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 TextRenderCachePolygon
impl Debug for TextRenderCachePolygon
Source§impl<'de> Deserialize<'de> for TextRenderCachePolygon
impl<'de> Deserialize<'de> for TextRenderCachePolygon
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
Auto Trait Implementations§
impl Freeze for TextRenderCachePolygon
impl RefUnwindSafe for TextRenderCachePolygon
impl Send for TextRenderCachePolygon
impl Sync for TextRenderCachePolygon
impl Unpin for TextRenderCachePolygon
impl UnsafeUnpin for TextRenderCachePolygon
impl UnwindSafe for TextRenderCachePolygon
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