pub struct HostBoxRequest {
pub token: i32,
pub style: HostBoxStyle,
pub font_size: i32,
}Expand description
Parameters for a host box request passed to the platform.
Fields§
§token: i32Opaque host owned token identifier scanned from \hostbox{...}.
style: HostBoxStyleMath style context at the placement site.
font_size: i32Font size context in scaled points at the placement site.
Trait Implementations§
Source§impl Clone for HostBoxRequest
impl Clone for HostBoxRequest
Source§fn clone(&self) -> HostBoxRequest
fn clone(&self) -> HostBoxRequest
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 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