[−][src]Struct yy_typings::sprite_yy::Frame
Fields
composite_image: Image
This is the actual image you'll see in the game. It's a composite of the images below. It's LayerID will always be UUID::default, or 0000...0000, but it's FrameID will always == Self.Id.
images: Vec<Image>
These are the images which compose the composite image. At the minimum, there will be one Image. It's LayerID will correspond to the LayerId of a Sprite above.
parent: FilesystemPath
This is the path to the sprite parent. It will always have the name
of the Sprite name, and the path to the sprite .yy
file.
resource_version: ResourceVersion
The version of this particular resource.
name: FrameId
This is the name of the Frame, which will always be a UUID.
These are the tags affixed to this frame, which is not possible.
resource_type: ConstGmSpriteFrame
This is the type of Resource.
Trait Implementations
impl Clone for Frame
[src]
impl Debug for Frame
[src]
impl Default for Frame
[src]
fn default() -> Self
[src]
Return Frame { composite_image: Default::default(), images: Default::default(), parent: Default::default(), resource_version: Default::default(), name: Default::default(), tags: vec ! [], resource_type: Default::default() }
impl<'de> Deserialize<'de> for Frame
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for Frame
[src]
impl PartialEq<Frame> for Frame
[src]
impl Serialize for Frame
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for Frame
[src]
impl StructuralPartialEq for Frame
[src]
Auto Trait Implementations
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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, 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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,