pub struct BoardTextRenderCache {
pub text: String,
pub angle: f64,
pub exact: bool,
pub knockout: bool,
pub source: BoardTextRenderCacheSource,
pub coordinate_space: BoardTextRenderCacheCoordinateSpace,
pub polygons: Vec<Vec<Vec<[i64; 2]>>>,
}Expand description
Attached authored or native-generated render-cache facts.
Fields§
§text: String§angle: f64§exact: bool§knockout: bool§source: BoardTextRenderCacheSource§coordinate_space: BoardTextRenderCacheCoordinateSpace§polygons: Vec<Vec<Vec<[i64; 2]>>>polygons -> contours -> points; the first contour is the exterior.
Trait Implementations§
Source§impl Clone for BoardTextRenderCache
impl Clone for BoardTextRenderCache
Source§fn clone(&self) -> BoardTextRenderCache
fn clone(&self) -> BoardTextRenderCache
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 BoardTextRenderCache
impl Debug for BoardTextRenderCache
Source§impl PartialEq for BoardTextRenderCache
impl PartialEq for BoardTextRenderCache
impl StructuralPartialEq for BoardTextRenderCache
Auto Trait Implementations§
impl Freeze for BoardTextRenderCache
impl RefUnwindSafe for BoardTextRenderCache
impl Send for BoardTextRenderCache
impl Sync for BoardTextRenderCache
impl Unpin for BoardTextRenderCache
impl UnsafeUnpin for BoardTextRenderCache
impl UnwindSafe for BoardTextRenderCache
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