pub struct FontRequest {
pub name: Vec<u8>,
pub size: i32,
}Expand description
A font request from \font.
Fields§
§name: Vec<u8>The name as written after \font\cs=.
size: i32Size: positive is at (sp), negative is scaled (−1000 × factor),
−1000 when unspecified.
Trait Implementations§
Source§impl Clone for FontRequest
impl Clone for FontRequest
Auto Trait Implementations§
impl Freeze for FontRequest
impl RefUnwindSafe for FontRequest
impl Send for FontRequest
impl Sync for FontRequest
impl Unpin for FontRequest
impl UnsafeUnpin for FontRequest
impl UnwindSafe for FontRequest
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