pub struct BoardOptions {
pub flip: bool,
pub theme: BoardTheme,
pub coordinates: bool,
}Expand description
How a fen/pgn board is drawn — the same knobs the markdown fences and
tags take as attributes. Every field is optional on the wire.
Fields§
§flip: boolDraw the board from Black’s side.
theme: BoardTheme§coordinates: boolFile/rank labels along the edges.
Trait Implementations§
Source§impl Clone for BoardOptions
impl Clone for BoardOptions
impl Copy for BoardOptions
Source§impl Debug for BoardOptions
impl Debug for BoardOptions
Source§impl Default for BoardOptions
impl Default for BoardOptions
Source§impl<'de> Deserialize<'de> for BoardOptionswhere
BoardOptions: Default,
impl<'de> Deserialize<'de> for BoardOptionswhere
BoardOptions: Default,
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
impl Eq for BoardOptions
Source§impl PartialEq for BoardOptions
impl PartialEq for BoardOptions
Source§impl Serialize for BoardOptions
impl Serialize for BoardOptions
impl StructuralPartialEq for BoardOptions
Auto Trait Implementations§
impl Freeze for BoardOptions
impl RefUnwindSafe for BoardOptions
impl Send for BoardOptions
impl Sync for BoardOptions
impl Unpin for BoardOptions
impl UnsafeUnpin for BoardOptions
impl UnwindSafe for BoardOptions
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