Enum twmap::CompressedData [−][src]
Variants
Implementations
Returns a reference to the inner loaded value. Panics if isn’t loaded.
Returns a mutable reference to the inner loaded value. Panics if isn’t loaded.
Trait Implementations
type ErrorKind = ImageErrorKind
type ErrorKind = LayerErrorKind
type ErrorKind = SoundErrorKind
impl<'de, T, U> Deserialize<'de> for CompressedData<T, U> where
T: Deserialize<'de>,
U: Deserialize<'de>,
impl<'de, T, U> Deserialize<'de> for CompressedData<T, U> where
T: Deserialize<'de>,
U: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<T: TileParsing> Load for CompressedData<Array2<T>, TilesLoadInfo> where
CompressedData<Array2<T>, TilesLoadInfo>: CheckData<CompressedErrorKind = CompressedLayerError, ErrorKind = LayerErrorKind>,
impl<T: TileParsing> Load for CompressedData<Array2<T>, TilesLoadInfo> where
CompressedData<Array2<T>, TilesLoadInfo>: CheckData<CompressedErrorKind = CompressedLayerError, ErrorKind = LayerErrorKind>,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T, U> RefUnwindSafe for CompressedData<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for CompressedData<T, U> where
T: Send,
U: Send,
impl<T, U> Sync for CompressedData<T, U> where
T: Sync,
U: Sync,
impl<T, U> Unpin for CompressedData<T, U> where
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for CompressedData<T, U> where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self