#[repr(u32)]pub enum CoreErrorCode {
Show 17 variants
EmptyDocument = 2_000,
EmptySection = 2_001,
EmptyParagraph = 2_002,
EmptyTable = 2_003,
EmptyTableRow = 2_004,
InvalidSpan = 2_005,
EmptyTextBox = 2_006,
EmptyFootnote = 2_007,
EmptyTableCell = 2_008,
EmptyEndnote = 2_009,
InvalidPolygon = 2_010,
InvalidShapeDimension = 2_011,
EmptyEquation = 2_012,
EmptyChartData = 2_013,
EmptyCategoryLabels = 2_014,
MismatchedSeriesLengths = 2_015,
InvalidStructure = 2_100,
}Expand description
Variants§
EmptyDocument = 2_000
Empty document (no sections).
EmptySection = 2_001
Empty section (no paragraphs).
EmptyParagraph = 2_002
Empty paragraph (no runs).
EmptyTable = 2_003
Empty table (no rows).
EmptyTableRow = 2_004
Empty table row (no cells).
InvalidSpan = 2_005
Invalid span value (zero).
EmptyTextBox = 2_006
Empty TextBox (no paragraphs).
EmptyFootnote = 2_007
Empty Footnote (no paragraphs).
EmptyTableCell = 2_008
Empty table cell (no paragraphs).
EmptyEndnote = 2_009
Empty Endnote (no paragraphs).
InvalidPolygon = 2_010
Invalid Polygon (fewer than 3 vertices).
InvalidShapeDimension = 2_011
Invalid shape dimension (zero width or height).
EmptyEquation = 2_012
Empty Equation (empty script).
EmptyChartData = 2_013
Empty Chart data (no series).
EmptyCategoryLabels = 2_014
Empty category labels in a Category chart.
MismatchedSeriesLengths = 2_015
Mismatched x/y value lengths in an XY series.
InvalidStructure = 2_100
Invalid document structure.
Trait Implementations§
Source§impl Clone for CoreErrorCode
impl Clone for CoreErrorCode
Source§fn clone(&self) -> CoreErrorCode
fn clone(&self) -> CoreErrorCode
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 CoreErrorCode
impl Debug for CoreErrorCode
Source§impl Display for CoreErrorCode
impl Display for CoreErrorCode
Source§impl Hash for CoreErrorCode
impl Hash for CoreErrorCode
Source§impl PartialEq for CoreErrorCode
impl PartialEq for CoreErrorCode
impl Copy for CoreErrorCode
impl Eq for CoreErrorCode
impl StructuralPartialEq for CoreErrorCode
Auto Trait Implementations§
impl Freeze for CoreErrorCode
impl RefUnwindSafe for CoreErrorCode
impl Send for CoreErrorCode
impl Sync for CoreErrorCode
impl Unpin for CoreErrorCode
impl UnwindSafe for CoreErrorCode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.