pub struct NodeArtwork {
pub svg: String,
pub paint_bounds: Option<PaintBounds>,
pub fallback_picture: Option<Box<PictureArtwork>>,
}Expand description
Generated artwork for one node, as the eager parse would have stored it.
Fields§
§svg: String§paint_bounds: Option<PaintBounds>§fallback_picture: Option<Box<PictureArtwork>>Trait Implementations§
Source§impl Clone for NodeArtwork
impl Clone for NodeArtwork
Source§impl Debug for NodeArtwork
impl Debug for NodeArtwork
Source§impl<'de> Deserialize<'de> for NodeArtwork
impl<'de> Deserialize<'de> for NodeArtwork
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 PartialEq for NodeArtwork
impl PartialEq for NodeArtwork
Source§impl Serialize for NodeArtwork
impl Serialize for NodeArtwork
impl StructuralPartialEq for NodeArtwork
Auto Trait Implementations§
impl Forget for NodeArtwork
impl Freeze for NodeArtwork
impl RefUnwindSafe for NodeArtwork
impl Send for NodeArtwork
impl Sync for NodeArtwork
impl Unpin for NodeArtwork
impl UnsafeUnpin for NodeArtwork
impl UnwindSafe for NodeArtwork
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