Struct vtubestudio::data::ItemInstanceInScene
source · [−]pub struct ItemInstanceInScene {Show 17 fields
pub file_name: String,
pub instance_id: String,
pub order: i32,
pub type_: EnumString<ItemType>,
pub censored: bool,
pub flipped: bool,
pub locked: bool,
pub smoothing: f64,
pub framerate: f64,
pub frame_count: i32,
pub current_frame: i32,
pub pinned_to_model: bool,
pub pinned_model_id: String,
pub pinned_art_mesh_id: String,
pub group_name: String,
pub scene_name: String,
pub from_workshop: bool,
}
Expand description
Used in ItemListResponse
.
Fields
file_name: String
File name
instance_id: String
Instance ID.
order: i32
Order.
type_: EnumString<ItemType>
Type of the item. E.g., PNG
, JPG
, GIF
, AnimationFolder
or Live2D
.
censored: bool
Censored.
flipped: bool
Flipped.
locked: bool
Locked.
smoothing: f64
Smoothing.
framerate: f64
Animation frame rate.
frame_count: i32
Animation frame count.
current_frame: i32
Current frame.
pinned_to_model: bool
Pinned to model.
pinned_model_id: String
Pinned model ID. May be empty if pinned_to_model
is false
.
pinned_art_mesh_id: String
Pinned art mesh ID. May be empty if pinned_to_model
is false
.
group_name: String
Group name.
scene_name: String
Scene name.
from_workshop: bool
Whether the item is from the Steam workshop.
Trait Implementations
sourceimpl Clone for ItemInstanceInScene
impl Clone for ItemInstanceInScene
sourcefn clone(&self) -> ItemInstanceInScene
fn clone(&self) -> ItemInstanceInScene
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 moresourceimpl Debug for ItemInstanceInScene
impl Debug for ItemInstanceInScene
sourceimpl Default for ItemInstanceInScene
impl Default for ItemInstanceInScene
sourcefn default() -> ItemInstanceInScene
fn default() -> ItemInstanceInScene
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ItemInstanceInScene
impl<'de> Deserialize<'de> for ItemInstanceInScene
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<ItemInstanceInScene> for ItemInstanceInScene
impl PartialEq<ItemInstanceInScene> for ItemInstanceInScene
sourcefn eq(&self, other: &ItemInstanceInScene) -> bool
fn eq(&self, other: &ItemInstanceInScene) -> bool
sourceimpl Serialize for ItemInstanceInScene
impl Serialize for ItemInstanceInScene
impl StructuralPartialEq for ItemInstanceInScene
Auto Trait Implementations
impl RefUnwindSafe for ItemInstanceInScene
impl Send for ItemInstanceInScene
impl Sync for ItemInstanceInScene
impl Unpin for ItemInstanceInScene
impl UnwindSafe for ItemInstanceInScene
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