pub enum TestSurfaceError {
NoSize,
NoFreeBuffer,
Surface(SurfaceError),
}Variants§
Trait Implementations§
Source§impl Debug for TestSurfaceError
impl Debug for TestSurfaceError
Source§impl Display for TestSurfaceError
impl Display for TestSurfaceError
Source§impl Error for TestSurfaceError
impl Error for TestSurfaceError
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()
Source§impl From<SurfaceError> for TestSurfaceError
impl From<SurfaceError> for TestSurfaceError
Source§fn from(source: SurfaceError) -> Self
fn from(source: SurfaceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for TestSurfaceError
impl Freeze for TestSurfaceError
impl Move for TestSurfaceError
impl RefUnwindSafe for TestSurfaceError
impl Send for TestSurfaceError
impl Sync for TestSurfaceErrorwhere
RawVecInner: Sync,
impl Unpin for TestSurfaceError
impl UnsafeUnpin for TestSurfaceError
impl UnwindSafe for TestSurfaceError
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