pub struct FrameBatchError { /* private fields */ }Expand description
Failure to construct a lazy multi-frame render operation.
Error::source is always None: a shared-preparation failure is
flattened into its kind and subject.
Implementations§
Source§impl FrameBatchError
impl FrameBatchError
Sourcepub const fn kind(&self) -> FrameBatchErrorKind
pub const fn kind(&self) -> FrameBatchErrorKind
Returns the stable batch-construction failure category.
Sourcepub const fn ordinal(&self) -> Option<u32>
pub const fn ordinal(&self) -> Option<u32>
Returns the implicated frame ordinal for a target-selection failure.
Sourcepub fn descriptor(&self) -> ErrorDescriptor
pub fn descriptor(&self) -> ErrorDescriptor
Returns this failure’s stable serializable descriptor.
Trait Implementations§
Source§impl Clone for FrameBatchError
impl Clone for FrameBatchError
Source§impl Debug for FrameBatchError
impl Debug for FrameBatchError
Source§impl Display for FrameBatchError
impl Display for FrameBatchError
Source§impl Error for FrameBatchError
impl Error for FrameBatchError
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 FrameBatchError
impl RefUnwindSafe for FrameBatchError
impl Send for FrameBatchError
impl Sync for FrameBatchError
impl Unpin for FrameBatchError
impl UnsafeUnpin for FrameBatchError
impl UnwindSafe for FrameBatchError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.