#[non_exhaustive]pub struct HostBoxRequest {
pub token: u32,
pub style: MathStyle,
pub size: Length,
}Expand description
One placement of \hostbox{token}.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.token: u32The number the fragment wrote in \hostbox{...}.
style: MathStyleMath style at the placement, text outside math.
size: LengthSize of the current font at the placement.
Implementations§
Trait Implementations§
Source§impl Clone for HostBoxRequest
impl Clone for HostBoxRequest
impl Copy for HostBoxRequest
Source§impl Debug for HostBoxRequest
impl Debug for HostBoxRequest
impl Eq for HostBoxRequest
Source§impl PartialEq for HostBoxRequest
impl PartialEq for HostBoxRequest
impl StructuralPartialEq for HostBoxRequest
Auto Trait Implementations§
impl Freeze for HostBoxRequest
impl RefUnwindSafe for HostBoxRequest
impl Send for HostBoxRequest
impl Sync for HostBoxRequest
impl Unpin for HostBoxRequest
impl UnsafeUnpin for HostBoxRequest
impl UnwindSafe for HostBoxRequest
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