pub struct BookArgs {
pub path: String,
pub text: String,
pub screen_w: u32,
pub screen_h: u32,
pub scale: u32,
pub action: Option<BookAction>,
pub locale: Option<String>,
}Fields§
§path: String§text: StringThe .ybook as it is in the editor.
screen_w: u32§screen_h: u32§scale: u32§action: Option<BookAction>§locale: Option<String>The language to read it in (ru_ru, …; none: the neutral texts).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BookArgs
impl<'de> Deserialize<'de> for BookArgs
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 BookArgs
impl RefUnwindSafe for BookArgs
impl Send for BookArgs
impl Sync for BookArgs
impl Unpin for BookArgs
impl UnsafeUnpin for BookArgs
impl UnwindSafe for BookArgs
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