Enum rg3d_core::visitor::VisitError [−][src]
pub enum VisitError {
Show 17 variants
Io(Error),
UnknownFieldType(u8),
FieldDoesNotExist(String),
FieldAlreadyExists(String),
RegionAlreadyExists(String),
InvalidCurrentNode,
FieldTypeDoesNotMatch,
RegionDoesNotExist(String),
NoActiveNode,
NotSupportedFormat,
InvalidName,
TypeMismatch,
RefCellAlreadyMutableBorrowed,
User(String),
UnexpectedRcNullIndex,
PoisonedMutex,
FileLoadError(FileLoadError),
}
Variants
Io(Error)
Tuple Fields
0: Error
UnknownFieldType(u8)
Tuple Fields
0: u8
FieldDoesNotExist(String)
Tuple Fields
0: String
FieldAlreadyExists(String)
Tuple Fields
0: String
RegionAlreadyExists(String)
Tuple Fields
0: String
InvalidCurrentNode
FieldTypeDoesNotMatch
RegionDoesNotExist(String)
Tuple Fields
0: String
NoActiveNode
NotSupportedFormat
InvalidName
TypeMismatch
RefCellAlreadyMutableBorrowed
User(String)
Tuple Fields
0: String
UnexpectedRcNullIndex
PoisonedMutex
FileLoadError(FileLoadError)
Tuple Fields
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for VisitError
impl Send for VisitError
impl Sync for VisitError
impl Unpin for VisitError
impl !UnwindSafe for VisitError
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.