pub struct PasteboardItem {
pub index: usize,
pub types: Vec<String>,
pub data: Vec<PasteboardEntry>,
}Expand description
A single pasteboard item: its declared UTIs (in priority order) and the payload for each.
Fields§
§index: usizePosition in the snapshot — the item_index to pass to
PasteboardServiceClient::resolve.
types: Vec<String>Declared UTIs in priority order.
data: Vec<PasteboardEntry>Per-UTI payloads.
Trait Implementations§
Source§impl Clone for PasteboardItem
impl Clone for PasteboardItem
Source§fn clone(&self) -> PasteboardItem
fn clone(&self) -> PasteboardItem
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 moreAuto Trait Implementations§
impl Freeze for PasteboardItem
impl RefUnwindSafe for PasteboardItem
impl Send for PasteboardItem
impl Sync for PasteboardItem
impl Unpin for PasteboardItem
impl UnsafeUnpin for PasteboardItem
impl UnwindSafe for PasteboardItem
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