pub enum HostBoxStyle {
Text,
Script,
ScriptScript,
}Expand description
Style context a host box is placed in, display math collapses to text.
Variants§
Text
Text and display math style.
Script
First level script style.
ScriptScript
Second level script style.
Trait Implementations§
Source§impl Clone for HostBoxStyle
impl Clone for HostBoxStyle
Source§fn clone(&self) -> HostBoxStyle
fn clone(&self) -> HostBoxStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HostBoxStyle
Source§impl Debug for HostBoxStyle
impl Debug for HostBoxStyle
impl Eq for HostBoxStyle
Source§impl PartialEq for HostBoxStyle
impl PartialEq for HostBoxStyle
impl StructuralPartialEq for HostBoxStyle
Auto Trait Implementations§
impl Freeze for HostBoxStyle
impl RefUnwindSafe for HostBoxStyle
impl Send for HostBoxStyle
impl Sync for HostBoxStyle
impl Unpin for HostBoxStyle
impl UnsafeUnpin for HostBoxStyle
impl UnwindSafe for HostBoxStyle
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