pub struct RutabagaResourceSnapshot {
pub resource_id: u32,
pub width: u32,
pub height: u32,
}
Fields§
§resource_id: u32
§width: u32
§height: u32
Trait Implementations§
source§impl<'de> Deserialize<'de> for RutabagaResourceSnapshot
impl<'de> Deserialize<'de> for RutabagaResourceSnapshot
source§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
source§impl Serialize for RutabagaResourceSnapshot
impl Serialize for RutabagaResourceSnapshot
source§impl TryFrom<&RutabagaResource> for RutabagaResourceSnapshot
impl TryFrom<&RutabagaResource> for RutabagaResourceSnapshot
§type Error = RutabagaError
type Error = RutabagaError
The type returned in the event of a conversion error.
source§impl TryFrom<RutabagaResourceSnapshot> for RutabagaResource
impl TryFrom<RutabagaResourceSnapshot> for RutabagaResource
§type Error = RutabagaError
type Error = RutabagaError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl RefUnwindSafe for RutabagaResourceSnapshot
impl Send for RutabagaResourceSnapshot
impl Sync for RutabagaResourceSnapshot
impl Unpin for RutabagaResourceSnapshot
impl UnwindSafe for RutabagaResourceSnapshot
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