#[non_exhaustive]pub enum InvalidWindowId {}Expand description
Error type for invalid WindowId values.
Currently empty — all u32 values are accepted. The #[non_exhaustive]
attribute allows adding validation variants in the future without a
semver-breaking change.
Trait Implementations§
Source§impl Clone for InvalidWindowId
impl Clone for InvalidWindowId
Source§fn clone(&self) -> InvalidWindowId
fn clone(&self) -> InvalidWindowId
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 InvalidWindowId
impl Debug for InvalidWindowId
Source§impl Display for InvalidWindowId
impl Display for InvalidWindowId
Source§impl Error for InvalidWindowId
impl Error for InvalidWindowId
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 InvalidWindowId
impl RefUnwindSafe for InvalidWindowId
impl Send for InvalidWindowId
impl Sync for InvalidWindowId
impl Unpin for InvalidWindowId
impl UnsafeUnpin for InvalidWindowId
impl UnwindSafe for InvalidWindowId
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