pub struct TooManyImagePlanes { /* private fields */ }Expand description
Payload for FrameError::TooManyImagePlanes.
Implementations§
Source§impl TooManyImagePlanes
impl TooManyImagePlanes
Sourcepub const fn new(plane_count: u8) -> Self
pub const fn new(plane_count: u8) -> Self
Constructs a new TooManyImagePlanes payload.
Sourcepub const fn plane_count(&self) -> u8
pub const fn plane_count(&self) -> u8
The out-of-range plane_count value the caller supplied.
Trait Implementations§
Source§impl Clone for TooManyImagePlanes
impl Clone for TooManyImagePlanes
Source§fn clone(&self) -> TooManyImagePlanes
fn clone(&self) -> TooManyImagePlanes
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 moreimpl Copy for TooManyImagePlanes
Source§impl Debug for TooManyImagePlanes
impl Debug for TooManyImagePlanes
Source§impl Display for TooManyImagePlanes
impl Display for TooManyImagePlanes
impl Eq for TooManyImagePlanes
Source§impl Error for TooManyImagePlanes
impl Error for TooManyImagePlanes
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()
Source§impl From<TooManyImagePlanes> for FrameError
impl From<TooManyImagePlanes> for FrameError
Source§fn from(source: TooManyImagePlanes) -> Self
fn from(source: TooManyImagePlanes) -> Self
Converts to this type from the input type.
Source§impl Hash for TooManyImagePlanes
impl Hash for TooManyImagePlanes
Source§impl PartialEq for TooManyImagePlanes
impl PartialEq for TooManyImagePlanes
impl StructuralPartialEq for TooManyImagePlanes
Auto Trait Implementations§
impl Freeze for TooManyImagePlanes
impl RefUnwindSafe for TooManyImagePlanes
impl Send for TooManyImagePlanes
impl Sync for TooManyImagePlanes
impl Unpin for TooManyImagePlanes
impl UnsafeUnpin for TooManyImagePlanes
impl UnwindSafe for TooManyImagePlanes
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