Struct vtubestudio::data::ModelOutlineEventConfig
source · [−]pub struct ModelOutlineEventConfig {
pub draw: bool,
}
Expand description
Config for ModelOutlineEvent
.
Used in EventSubscriptionRequest
.
Fields
draw: bool
Whether to draw the model outline.
Drawing the outline in VTube Studio may not be performant so you should only do that for debugging purposes or to show the outline to the user for setup purposes. The outline will be drawn if at least one subscribed plugin has set “draw” to true.
Trait Implementations
sourceimpl Clone for ModelOutlineEventConfig
impl Clone for ModelOutlineEventConfig
sourcefn clone(&self) -> ModelOutlineEventConfig
fn clone(&self) -> ModelOutlineEventConfig
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 ModelOutlineEventConfig
impl Debug for ModelOutlineEventConfig
sourceimpl Default for ModelOutlineEventConfig
impl Default for ModelOutlineEventConfig
sourcefn default() -> ModelOutlineEventConfig
fn default() -> ModelOutlineEventConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ModelOutlineEventConfig
impl<'de> Deserialize<'de> for ModelOutlineEventConfig
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 EventConfig for ModelOutlineEventConfig
impl EventConfig for ModelOutlineEventConfig
type Event = ModelOutlineEvent
type Event = ModelOutlineEvent
The corresponding event for this config.
sourceimpl PartialEq<ModelOutlineEventConfig> for ModelOutlineEventConfig
impl PartialEq<ModelOutlineEventConfig> for ModelOutlineEventConfig
sourcefn eq(&self, other: &ModelOutlineEventConfig) -> bool
fn eq(&self, other: &ModelOutlineEventConfig) -> bool
sourceimpl Serialize for ModelOutlineEventConfig
impl Serialize for ModelOutlineEventConfig
impl StructuralPartialEq for ModelOutlineEventConfig
Auto Trait Implementations
impl RefUnwindSafe for ModelOutlineEventConfig
impl Send for ModelOutlineEventConfig
impl Sync for ModelOutlineEventConfig
impl Unpin for ModelOutlineEventConfig
impl UnwindSafe for ModelOutlineEventConfig
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