pub struct FreeformPasteboard {
pub drawing: FreeformTier<FreeformDrawing>,
pub native: FreeformTier<FreeformNative>,
pub manifest: FreeformTier<Vec<TsuEntry>>,
pub metadata: FreeformTier<FreeformNativeMetadata>,
pub assets: BTreeMap<String, FreeformAsset>,
pub renders: Vec<FreeformRender>,
pub state: BTreeMap<String, Vec<u8>>,
pub styles: Vec<FreeformFlavor>,
pub text: Vec<FreeformFlavor>,
pub unknown_flavors: Vec<FreeformFlavor>,
pub diagnostics: Vec<FreeformDiagnostic>,
}Expand description
A decoded Freeform selection assembled without losing supplied flavors.
Fields§
§drawing: FreeformTier<FreeformDrawing>PencilKit tier outcome.
native: FreeformTier<FreeformNative>Native graph tier outcome.
manifest: FreeformTier<Vec<TsuEntry>>Standalone TSU manifest tier outcome.
metadata: FreeformTier<FreeformNativeMetadata>Native correlation metadata.
assets: BTreeMap<String, FreeformAsset>Captured asset payloads keyed by asset ID.
renders: Vec<FreeformRender>Render fallbacks in pasteboard order.
state: BTreeMap<String, Vec<u8>>Exact pasteboard-state values.
styles: Vec<FreeformFlavor>Style-only pasteboard flavors.
text: Vec<FreeformFlavor>Plain-text and rich-text selection flavors.
unknown_flavors: Vec<FreeformFlavor>Unknown flavors retained for future decoders.
diagnostics: Vec<FreeformDiagnostic>Non-fatal correlation and partial-fidelity diagnostics.
Trait Implementations§
Source§impl Clone for FreeformPasteboard
impl Clone for FreeformPasteboard
Source§fn clone(&self) -> FreeformPasteboard
fn clone(&self) -> FreeformPasteboard
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 FreeformPasteboard
impl Debug for FreeformPasteboard
Source§impl Default for FreeformPasteboard
impl Default for FreeformPasteboard
Source§fn default() -> FreeformPasteboard
fn default() -> FreeformPasteboard
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FreeformPasteboard
impl<'de> Deserialize<'de> for FreeformPasteboard
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 FreeformPasteboard
impl PartialEq for FreeformPasteboard
Source§impl Serialize for FreeformPasteboard
impl Serialize for FreeformPasteboard
impl StructuralPartialEq for FreeformPasteboard
Auto Trait Implementations§
impl Freeze for FreeformPasteboard
impl RefUnwindSafe for FreeformPasteboard
impl Send for FreeformPasteboard
impl Sync for FreeformPasteboard
impl Unpin for FreeformPasteboard
impl UnsafeUnpin for FreeformPasteboard
impl UnwindSafe for FreeformPasteboard
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