pub struct RtfHeader {
pub character_set: CharacterSet,
pub font_table: FontTable,
pub color_table: ColorTable,
pub stylesheet: StyleSheet,
}
Expand description
Information about the document, including references to fonts & styles
Fields§
§character_set: CharacterSet
§font_table: FontTable
§color_table: ColorTable
§stylesheet: StyleSheet
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RtfHeader
impl<'de> Deserialize<'de> for RtfHeader
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 FromWasmAbi for RtfHeaderwhere
Self: DeserializeOwned,
impl FromWasmAbi for RtfHeaderwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for RtfHeaderwhere
Self: Serialize,
impl IntoWasmAbi for RtfHeaderwhere
Self: Serialize,
Source§impl OptionFromWasmAbi for RtfHeaderwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for RtfHeaderwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for RtfHeaderwhere
Self: Serialize,
impl OptionIntoWasmAbi for RtfHeaderwhere
Self: Serialize,
Source§impl Tsify for RtfHeader
impl Tsify for RtfHeader
const DECL: &'static str = "export interface RtfHeader {\n character_set: CharacterSet;\n font_table: FontTable;\n color_table: ColorTable;\n stylesheet: StyleSheet;\n}"
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
impl StructuralPartialEq for RtfHeader
Auto Trait Implementations§
impl Freeze for RtfHeader
impl RefUnwindSafe for RtfHeader
impl Send for RtfHeader
impl Sync for RtfHeader
impl Unpin for RtfHeader
impl UnwindSafe for RtfHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.