#[non_exhaustive]pub struct ArtPicturesError {
pub line: usize,
pub fault: ArtPicturesFault,
}Expand description
Why a file of art pictures does not read, and on which line.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.line: usizeThe line, from 1, or 0 for the file as a whole.
fault: ArtPicturesFaultWhat is wrong.
Trait Implementations§
Source§impl Clone for ArtPicturesError
impl Clone for ArtPicturesError
Source§fn clone(&self) -> ArtPicturesError
fn clone(&self) -> ArtPicturesError
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 ArtPicturesError
Source§impl Debug for ArtPicturesError
impl Debug for ArtPicturesError
Source§impl Display for ArtPicturesError
impl Display for ArtPicturesError
impl Eq for ArtPicturesError
Source§impl Error for ArtPicturesError
impl Error for ArtPicturesError
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 PartialEq for ArtPicturesError
impl PartialEq for ArtPicturesError
impl StructuralPartialEq for ArtPicturesError
Auto Trait Implementations§
impl Forget for ArtPicturesError
impl Freeze for ArtPicturesError
impl Move for ArtPicturesError
impl RefUnwindSafe for ArtPicturesError
impl Send for ArtPicturesError
impl Sync for ArtPicturesError
impl Unpin for ArtPicturesError
impl UnsafeUnpin for ArtPicturesError
impl UnwindSafe for ArtPicturesError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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.