Struct vtubestudio::data::SceneColorOverlayInfoResponse
source · [−]pub struct SceneColorOverlayInfoResponse {Show 15 fields
pub active: bool,
pub items_included: bool,
pub is_window_capture: bool,
pub base_brightness: i32,
pub color_boost: i32,
pub smoothing: i32,
pub color_overlay_r: i32,
pub color_overlay_g: i32,
pub color_overlay_b: i32,
pub color_avg_r: u8,
pub color_avg_g: u8,
pub color_avg_b: u8,
pub left_capture_part: CapturePart,
pub middle_capture_part: CapturePart,
pub right_capture_part: CapturePart,
}
Expand description
Info about the color overlay.
This is the return value of SceneColorOverlayInfoRequest
.
Fields
active: bool
Whether the overlay is active.
items_included: bool
Whether items are included in the overlay.
is_window_capture: bool
Whether the overlay is a window capture.
If false
, it means the entire screen is being captured.
base_brightness: i32
Base brightness (between 0 and 100).
color_boost: i32
Color boost (between 0 and 100).
smoothing: i32
Smoothing.(between 0 and 60).
color_overlay_r: i32
The red component of the overlay (between 0 and 459).
color_overlay_g: i32
The green component of the overlay (between 0 and 459).
color_overlay_b: i32
The blue component of the overlay (between 0 and 459).
color_avg_r: u8
The average red component of the overlay.
color_avg_g: u8
The average green component of the overlay.
color_avg_b: u8
The average blue component of the overlay.
left_capture_part: CapturePart
The left capture part.
middle_capture_part: CapturePart
The middle capture part.
right_capture_part: CapturePart
The right capture part.
Trait Implementations
sourceimpl Clone for SceneColorOverlayInfoResponse
impl Clone for SceneColorOverlayInfoResponse
sourcefn clone(&self) -> SceneColorOverlayInfoResponse
fn clone(&self) -> SceneColorOverlayInfoResponse
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 SceneColorOverlayInfoResponse
impl Debug for SceneColorOverlayInfoResponse
sourceimpl Default for SceneColorOverlayInfoResponse
impl Default for SceneColorOverlayInfoResponse
sourcefn default() -> SceneColorOverlayInfoResponse
fn default() -> SceneColorOverlayInfoResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SceneColorOverlayInfoResponse
impl<'de> Deserialize<'de> for SceneColorOverlayInfoResponse
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<SceneColorOverlayInfoResponse> for SceneColorOverlayInfoResponse
impl PartialEq<SceneColorOverlayInfoResponse> for SceneColorOverlayInfoResponse
sourcefn eq(&self, other: &SceneColorOverlayInfoResponse) -> bool
fn eq(&self, other: &SceneColorOverlayInfoResponse) -> bool
impl StructuralPartialEq for SceneColorOverlayInfoResponse
Auto Trait Implementations
impl RefUnwindSafe for SceneColorOverlayInfoResponse
impl Send for SceneColorOverlayInfoResponse
impl Sync for SceneColorOverlayInfoResponse
impl Unpin for SceneColorOverlayInfoResponse
impl UnwindSafe for SceneColorOverlayInfoResponse
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