Struct yy_typings::AnimationCurve
source · [−]pub struct AnimationCurve {
pub parent: ViewPath,
pub resource_version: ResourceVersion,
pub name: String,
}
Expand description
This is a bodge to handle the fact that we don’t currently have support for many of the Gms2 yy-files. Eventually, we’d like to support all of them, but downstream crates need to have some basic support until then. For now, this can be used for all top level files, providing the simplest of support.
Fields
parent: ViewPath
The parent in the Gms2 virtual file system, ie. the parent which a user would see in the Navigation Pane in Gms2. This has no relationship to the actual operating system’s filesystem.
resource_version: ResourceVersion
The resource version of this yy file. At default 1.0.
name: String
The name of the object. This is the human readable name used in the IDE.
Trait Implementations
sourceimpl Clone for AnimationCurve
impl Clone for AnimationCurve
sourcefn clone(&self) -> AnimationCurve
fn clone(&self) -> AnimationCurve
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AnimationCurve
impl Debug for AnimationCurve
sourceimpl Default for AnimationCurve
impl Default for AnimationCurve
sourceimpl<'de> Deserialize<'de> for AnimationCurve
impl<'de> Deserialize<'de> for AnimationCurve
sourcefn 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
sourceimpl PartialEq<AnimationCurve> for AnimationCurve
impl PartialEq<AnimationCurve> for AnimationCurve
sourcefn eq(&self, other: &AnimationCurve) -> bool
fn eq(&self, other: &AnimationCurve) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for AnimationCurve
impl Serialize for AnimationCurve
impl StructuralPartialEq for AnimationCurve
Auto Trait Implementations
impl RefUnwindSafe for AnimationCurve
impl Send for AnimationCurve
impl Sync for AnimationCurve
impl Unpin for AnimationCurve
impl UnwindSafe for AnimationCurve
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more