pub struct JigPlayerSettings {
pub direction: TextDirection,
pub scoring: bool,
pub drag_assist: bool,
}
Expand description
Settings for the player session.
Fields§
§direction: TextDirection
Text direction, left-to-right or right-to-left
scoring: bool
Scoring
drag_assist: bool
Whether or not to enable drag assist
Trait Implementations§
Source§impl Clone for JigPlayerSettings
impl Clone for JigPlayerSettings
Source§fn clone(&self) -> JigPlayerSettings
fn clone(&self) -> JigPlayerSettings
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JigPlayerSettings
impl Debug for JigPlayerSettings
Source§impl Default for JigPlayerSettings
impl Default for JigPlayerSettings
Source§impl<'de> Deserialize<'de> for JigPlayerSettings
impl<'de> Deserialize<'de> for JigPlayerSettings
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
Auto Trait Implementations§
impl Freeze for JigPlayerSettings
impl RefUnwindSafe for JigPlayerSettings
impl Send for JigPlayerSettings
impl Sync for JigPlayerSettings
impl Unpin for JigPlayerSettings
impl UnwindSafe for JigPlayerSettings
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