pub struct RenderedItem {
pub items: Vec<Item>,
pub text: Vec<TextRun>,
pub annotations: Vec<Annotation>,
pub drawn: Vec<Drawn>,
pub provenance: Vec<Item>,
}Expand description
One item’s ink and provenance. Run indices are local until appended to a drawing.
Fields§
§items: Vec<Item>§text: Vec<TextRun>§annotations: Vec<Annotation>§drawn: Vec<Drawn>§provenance: Vec<Item>Session ink’s owning items; absent for the unchanged single-sheet wire format.
Implementations§
Trait Implementations§
Source§impl Clone for RenderedItem
impl Clone for RenderedItem
Source§impl Debug for RenderedItem
impl Debug for RenderedItem
Source§impl Default for RenderedItem
impl Default for RenderedItem
Source§impl<'de> Deserialize<'de> for RenderedItem
impl<'de> Deserialize<'de> for RenderedItem
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 Forget for RenderedItem
impl Freeze for RenderedItem
impl Move for RenderedItem
impl RefUnwindSafe for RenderedItem
impl Send for RenderedItem
impl Sync for RenderedItem
impl Unpin for RenderedItem
impl UnsafeUnpin for RenderedItem
impl UnwindSafe for RenderedItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more