pub enum GridScanError {
MarkerNotFound,
PrologueMismatch {
at: usize,
},
EmptyGrid {
rows: u16,
cols: u16,
},
NumberCellCountMismatch {
found: usize,
expected: usize,
},
}Expand description
그리드를 구조로 읽지 못한 사유.
전부 모양을 신뢰할 수 없다는 뜻이다. 이름을 못 정하는 것과 다르다 — 이름 모호는
판정 표지로 싣고 통과시킨다(super::orientation).
Variants§
MarkerNotFound
VtDataGrid 마커가 없다.
PrologueMismatch
프롤로그의 선언 순서가 실측 규약과 다르다 — 알려지지 않은 작성기다.
EmptyGrid
데이터 셀이 없는 치수다.
NumberCellCountMismatch
수치 셀 개수가 (rows - 1) * (cols - 1) 과 다르다.
Trait Implementations§
Source§impl Clone for GridScanError
impl Clone for GridScanError
Source§impl Debug for GridScanError
impl Debug for GridScanError
impl Eq for GridScanError
Source§impl PartialEq for GridScanError
impl PartialEq for GridScanError
impl StructuralPartialEq for GridScanError
Auto Trait Implementations§
impl Forget for GridScanError
impl Freeze for GridScanError
impl Move for GridScanError
impl RefUnwindSafe for GridScanError
impl Send for GridScanError
impl Sync for GridScanError
impl Unpin for GridScanError
impl UnsafeUnpin for GridScanError
impl UnwindSafe for GridScanError
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
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.