#[repr(u32)]pub enum BlueprintErrorCode {
YamlParse = 3_000,
InvalidDimension = 3_001,
CircularInheritance = 3_002,
TemplateNotFound = 3_003,
InheritanceDepthExceeded = 3_004,
EmptyStyleMap = 3_005,
StyleResolution = 3_006,
DuplicateStyleName = 3_007,
InvalidPercentage = 3_008,
InvalidColor = 3_009,
InvalidMappingReference = 3_010,
InvalidStyleName = 3_011,
}Expand description
Numeric error codes for Blueprint (3000-3999).
Variants§
YamlParse = 3_000
YAML syntax or structure error.
InvalidDimension = 3_001
Invalid dimension string (e.g. “16px” instead of “16pt”).
CircularInheritance = 3_002
Circular template inheritance detected.
TemplateNotFound = 3_003
Referenced parent template not found.
InheritanceDepthExceeded = 3_004
Inheritance chain exceeds depth limit.
EmptyStyleMap = 3_005
Style map is empty (no styles defined).
StyleResolution = 3_006
Style resolution failed (missing required fields).
DuplicateStyleName = 3_007
Duplicate style name in the same scope.
InvalidPercentage = 3_008
Invalid percentage string.
InvalidColor = 3_009
Invalid color string.
InvalidMappingReference = 3_010
Markdown mapping references unknown style.
InvalidStyleName = 3_011
Invalid style name.
Trait Implementations§
Source§impl Clone for BlueprintErrorCode
impl Clone for BlueprintErrorCode
Source§fn clone(&self) -> BlueprintErrorCode
fn clone(&self) -> BlueprintErrorCode
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 BlueprintErrorCode
impl Debug for BlueprintErrorCode
Source§impl Display for BlueprintErrorCode
impl Display for BlueprintErrorCode
Source§impl Hash for BlueprintErrorCode
impl Hash for BlueprintErrorCode
Source§impl PartialEq for BlueprintErrorCode
impl PartialEq for BlueprintErrorCode
impl Copy for BlueprintErrorCode
impl Eq for BlueprintErrorCode
impl StructuralPartialEq for BlueprintErrorCode
Auto Trait Implementations§
impl Freeze for BlueprintErrorCode
impl RefUnwindSafe for BlueprintErrorCode
impl Send for BlueprintErrorCode
impl Sync for BlueprintErrorCode
impl Unpin for BlueprintErrorCode
impl UnwindSafe for BlueprintErrorCode
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.