[−][src]Enum gltf_json::validation::Checked
Specifies a type that has been pre-validated during deserialization or otherwise.
Variants
Valid(T)
The item is valid.
Invalid
The item is invalid.
Methods
impl<T> Checked<T>
[src]
pub fn as_ref(&self) -> Checked<&T>
[src]
Converts from Checked<T>
to Checked<&T>
.
pub fn unwrap(self) -> T
[src]
Trait Implementations
impl<T> Validate for Checked<T>
[src]
fn validate<P, R>(&self, _root: &Root, path: P, report: &mut R) where
P: Fn() -> Path,
R: FnMut(&dyn Fn() -> Path, Error),
[src]
P: Fn() -> Path,
R: FnMut(&dyn Fn() -> Path, Error),
impl<T: Copy> Copy for Checked<T>
[src]
impl<T: Default> Default for Checked<T>
[src]
impl<T: Clone> Clone for Checked<T>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: PartialEq> PartialEq<Checked<T>> for Checked<T>
[src]
impl ToString for Checked<Semantic>
[src]
impl<T: Eq> Eq for Checked<T>
[src]
impl<T: Debug> Debug for Checked<T>
[src]
impl<T: Hash> Hash for Checked<T>
[src]
fn hash<__HT: Hasher>(&self, state: &mut __HT)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<T: Serialize> Serialize for Checked<T>
[src]
impl<'de> Deserialize<'de> for Checked<GenericComponentType>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<IndexComponentType>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<Type>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<Interpolation>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<Property>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<Target>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<Type>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<AlphaMode>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<Mode>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<Semantic>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<MagFilter>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<MinFilter>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Checked<WrappingMode>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl<T> Sync for Checked<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Checked<T> where
T: Unpin,
T: Unpin,
impl<T> Send for Checked<T> where
T: Send,
T: Send,
impl<T> UnwindSafe for Checked<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for Checked<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
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> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,