pub struct CompositionVisualSnapshotError(/* private fields */);Expand description
The error of a snapshot that cannot be taken (InvalidOperationException):
see Compositor::create_composition_visual_snapshot.
Trait Implementations§
Source§impl Error for CompositionVisualSnapshotError
impl Error for CompositionVisualSnapshotError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for CompositionVisualSnapshotError
impl RefUnwindSafe for CompositionVisualSnapshotError
impl Send for CompositionVisualSnapshotError
impl Sync for CompositionVisualSnapshotError
impl Unpin for CompositionVisualSnapshotError
impl UnsafeUnpin for CompositionVisualSnapshotError
impl UnwindSafe for CompositionVisualSnapshotError
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more