Enum rendology::CreationError
source · pub enum CreationError {
ShaderBuild(BuildError),
Texture(TextureCreationError),
Program(ProgramCreationError),
VertexBuffer(BufferCreationError),
IndexBuffer(BufferCreationError),
IO(Error),
}
Variants§
ShaderBuild(BuildError)
Texture(TextureCreationError)
Program(ProgramCreationError)
VertexBuffer(BufferCreationError)
IndexBuffer(BufferCreationError)
IO(Error)
Trait Implementations§
source§impl Debug for CreationError
impl Debug for CreationError
source§impl From<BuildError> for CreationError
impl From<BuildError> for CreationError
source§fn from(err: BuildError) -> CreationError
fn from(err: BuildError) -> CreationError
Converts to this type from the input type.
source§impl From<CreationError> for CreationError
impl From<CreationError> for CreationError
source§fn from(err: BufferCreationError) -> CreationError
fn from(err: BufferCreationError) -> CreationError
Converts to this type from the input type.
source§impl From<CreationError> for CreationError
impl From<CreationError> for CreationError
source§fn from(err: CreationError) -> CreationError
fn from(err: CreationError) -> CreationError
Converts to this type from the input type.
source§impl From<CreationError> for CreationError
impl From<CreationError> for CreationError
source§fn from(err: BufferCreationError) -> CreationError
fn from(err: BufferCreationError) -> CreationError
Converts to this type from the input type.
source§impl From<CreationError> for DrawError
impl From<CreationError> for DrawError
source§fn from(err: CreationError) -> DrawError
fn from(err: CreationError) -> DrawError
Converts to this type from the input type.
source§impl From<Error> for CreationError
impl From<Error> for CreationError
source§fn from(err: Error) -> CreationError
fn from(err: Error) -> CreationError
Converts to this type from the input type.
source§impl From<ProgramCreationError> for CreationError
impl From<ProgramCreationError> for CreationError
source§fn from(err: ProgramCreationError) -> CreationError
fn from(err: ProgramCreationError) -> CreationError
Converts to this type from the input type.
source§impl From<TextureCreationError> for CreationError
impl From<TextureCreationError> for CreationError
source§fn from(err: TextureCreationError) -> CreationError
fn from(err: TextureCreationError) -> CreationError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CreationError
impl Send for CreationError
impl Sync for CreationError
impl Unpin for CreationError
impl !UnwindSafe for CreationError
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<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.