Struct vtubestudio::data::BackgroundChangedEvent
source · [−]pub struct BackgroundChangedEvent {
pub background_name: String,
}
Expand description
An event that is triggered every time the background is changed by the user (manually or via hotkey).
This event can be configured using BackgroundChangedEventConfig
.
Fields
background_name: String
Background name, as shown in the background selection list.
This is typically the file name without the file extension.
Trait Implementations
sourceimpl Clone for BackgroundChangedEvent
impl Clone for BackgroundChangedEvent
sourcefn clone(&self) -> BackgroundChangedEvent
fn clone(&self) -> BackgroundChangedEvent
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 BackgroundChangedEvent
impl Debug for BackgroundChangedEvent
sourceimpl Default for BackgroundChangedEvent
impl Default for BackgroundChangedEvent
sourcefn default() -> BackgroundChangedEvent
fn default() -> BackgroundChangedEvent
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BackgroundChangedEvent
impl<'de> Deserialize<'de> for BackgroundChangedEvent
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 EventData for BackgroundChangedEvent
impl EventData for BackgroundChangedEvent
sourceimpl PartialEq<BackgroundChangedEvent> for BackgroundChangedEvent
impl PartialEq<BackgroundChangedEvent> for BackgroundChangedEvent
sourcefn eq(&self, other: &BackgroundChangedEvent) -> bool
fn eq(&self, other: &BackgroundChangedEvent) -> bool
sourceimpl Response for BackgroundChangedEvent
impl Response for BackgroundChangedEvent
sourceimpl Serialize for BackgroundChangedEvent
impl Serialize for BackgroundChangedEvent
impl StructuralPartialEq for BackgroundChangedEvent
Auto Trait Implementations
impl RefUnwindSafe for BackgroundChangedEvent
impl Send for BackgroundChangedEvent
impl Sync for BackgroundChangedEvent
impl Unpin for BackgroundChangedEvent
impl UnwindSafe for BackgroundChangedEvent
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