pub struct Shape<'a> {
pub id: Option<Cow<'a, str>>,
pub style: Option<Cow<'a, str>>,
pub image_data: Option<ImageData<'a>>,
}Fields§
§id: Option<Cow<'a, str>>§style: Option<Cow<'a, str>>§image_data: Option<ImageData<'a>>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Shape<'a>
impl<'a> RefUnwindSafe for Shape<'a>
impl<'a> Send for Shape<'a>
impl<'a> Sync for Shape<'a>
impl<'a> Unpin for Shape<'a>
impl<'a> UnwindSafe for Shape<'a>
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