pub struct SliceKey {
pub frame: usize,
pub bounds: Rect,
}Expand description
A slice key applies from its frame until the next key.
Fields§
§frame: usize§bounds: RectTrait Implementations§
Source§impl<'de> Deserialize<'de> for SliceKey
impl<'de> Deserialize<'de> for SliceKey
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
Auto Trait Implementations§
impl Forget for SliceKey
impl Freeze for SliceKey
impl Move for SliceKey
impl RefUnwindSafe for SliceKey
impl Send for SliceKey
impl Sync for SliceKey
impl Unpin for SliceKey
impl UnsafeUnpin for SliceKey
impl UnwindSafe for SliceKey
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