pub enum IncompleteReason {
Undefined,
IncompleteAttachment,
MissingAttachment,
IncompleteDrawBuffer,
IncompleteReadBuffer,
Unsupported,
IncompleteMultisample,
IncompleteLayerTargets,
}Expand description
Reason a framebuffer is incomplete.
Variants§
Undefined
Incomplete framebuffer.
IncompleteAttachment
Incomplete attachment (color / depth).
MissingAttachment
An attachment was missing.
IncompleteDrawBuffer
Incomplete draw buffer.
IncompleteReadBuffer
Incomplete read buffer.
Unsupported
Unsupported framebuffer.
IncompleteMultisample
Incomplete multisample configuration.
IncompleteLayerTargets
Incomplete layer targets.
Trait Implementations§
Source§impl Clone for IncompleteReason
impl Clone for IncompleteReason
Source§fn clone(&self) -> IncompleteReason
fn clone(&self) -> IncompleteReason
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 IncompleteReason
impl Debug for IncompleteReason
Source§impl Display for IncompleteReason
impl Display for IncompleteReason
Source§impl Error for IncompleteReason
impl Error for IncompleteReason
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<IncompleteReason> for FramebufferError
impl From<IncompleteReason> for FramebufferError
Source§fn from(e: IncompleteReason) -> FramebufferError
fn from(e: IncompleteReason) -> FramebufferError
Converts to this type from the input type.
Source§impl PartialEq for IncompleteReason
impl PartialEq for IncompleteReason
impl Eq for IncompleteReason
impl StructuralPartialEq for IncompleteReason
Auto Trait Implementations§
impl Freeze for IncompleteReason
impl RefUnwindSafe for IncompleteReason
impl Send for IncompleteReason
impl Sync for IncompleteReason
impl Unpin for IncompleteReason
impl UnwindSafe for IncompleteReason
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