pub struct Limits {
pub max_columns: usize,
pub max_rows: usize,
pub max_cell_chars: usize,
pub max_series: usize,
pub max_points: usize,
pub max_width: usize,
pub max_height: usize,
pub max_pixels: usize,
pub max_json_bytes: usize,
}Expand description
What a caller is willing to have drawn. Anything over a limit is an Error::TooLarge.
Fields§
§max_columns: usize§max_rows: usize§max_cell_chars: usizeCharacters kept per cell; longer cells are cut and end in ~.
max_series: usize§max_points: usize§max_width: usize§max_height: usize§max_pixels: usize§max_json_bytes: usizeTrait Implementations§
impl Copy for Limits
impl Eq for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Forget for Limits
impl Freeze for Limits
impl Move for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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