pub enum ScreenshotTarget {
Surface {
surface_id: SurfaceId,
},
Pane {
workspace_id: WorkspaceId,
pane_id: PaneId,
},
WorkspaceWindow {
workspace_id: WorkspaceId,
},
WorkspaceCanvas {
workspace_id: WorkspaceId,
},
}Variants§
Surface
Pane
WorkspaceWindow
Fields
§
workspace_id: WorkspaceIdWorkspaceCanvas
Fields
§
workspace_id: WorkspaceIdTrait Implementations§
Source§impl Clone for ScreenshotTarget
impl Clone for ScreenshotTarget
Source§fn clone(&self) -> ScreenshotTarget
fn clone(&self) -> ScreenshotTarget
Returns a duplicate of the value. Read more
1.0.0 · 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 ScreenshotTarget
impl Debug for ScreenshotTarget
Source§impl<'de> Deserialize<'de> for ScreenshotTarget
impl<'de> Deserialize<'de> for ScreenshotTarget
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 ScreenshotTarget
impl PartialEq for ScreenshotTarget
Source§impl Serialize for ScreenshotTarget
impl Serialize for ScreenshotTarget
impl Eq for ScreenshotTarget
impl StructuralPartialEq for ScreenshotTarget
Auto Trait Implementations§
impl Freeze for ScreenshotTarget
impl RefUnwindSafe for ScreenshotTarget
impl Send for ScreenshotTarget
impl Sync for ScreenshotTarget
impl Unpin for ScreenshotTarget
impl UnsafeUnpin for ScreenshotTarget
impl UnwindSafe for ScreenshotTarget
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.