pub struct Shape {
pub style: Option<String>,
pub image_data: Option<ImageData>,
}
Fields§
§style: Option<String>
§image_data: Option<ImageData>
Implementations§
Trait Implementations§
Source§impl ElementReader for Shape
impl ElementReader for Shape
fn read<R: Read>( r: &mut EventReader<R>, attrs: &[OwnedAttribute], ) -> Result<Self, ReaderError>
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnwindSafe for Shape
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