[−][src]Enum glium::uniforms::LayoutMismatchError
Error about a block layout mismatch.
Variants
There is a mismatch in the type of one element.
Fields of TypeMismatch
The expected layout is totally different from what we have.
Fields of LayoutMismatch
The type of data is good, but there is a misalignment.
Fields of OffsetMismatch
There is a mismatch in a submember of this layout.
This is kind of a hierarchy inside the LayoutMismatchError
s.
Fields of MemberMismatch
A field is missing in either the expected of the input data layout.
Fields of MissingField
name: String
Name of the field.
Trait Implementations
impl Clone for LayoutMismatchError
[src]
fn clone(&self) -> LayoutMismatchError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LayoutMismatchError
[src]
impl Display for LayoutMismatchError
[src]
impl Error for LayoutMismatchError
[src]
Auto Trait Implementations
impl RefUnwindSafe for LayoutMismatchError
impl Send for LayoutMismatchError
impl Sync for LayoutMismatchError
impl Unpin for LayoutMismatchError
impl UnwindSafe for LayoutMismatchError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,