pub struct SpeakerLook {
pub color: Option<Rgba>,
pub position: Option<Vec2>,
}Expand description
How one speaker’s captions look.
Fields§
§color: Option<Rgba>Their text color.
position: Option<Vec2>Where their text’s middle lies, as fractions of the canvas, (0, 0) top-left.
Trait Implementations§
Source§impl Clone for SpeakerLook
impl Clone for SpeakerLook
Source§impl Debug for SpeakerLook
impl Debug for SpeakerLook
Source§impl Default for SpeakerLook
impl Default for SpeakerLook
Source§impl<'de> Deserialize<'de> for SpeakerLook
impl<'de> Deserialize<'de> for SpeakerLook
Source§fn 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
Source§impl PartialEq for SpeakerLook
impl PartialEq for SpeakerLook
Source§impl Serialize for SpeakerLook
impl Serialize for SpeakerLook
impl StructuralPartialEq for SpeakerLook
Auto Trait Implementations§
impl Freeze for SpeakerLook
impl RefUnwindSafe for SpeakerLook
impl Send for SpeakerLook
impl Sync for SpeakerLook
impl Unpin for SpeakerLook
impl UnsafeUnpin for SpeakerLook
impl UnwindSafe for SpeakerLook
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more