pub struct TextClipLimit {
pub have: usize,
pub adding: usize,
pub limit: usize,
}Expand description
A text-clip batch that would take the clip past MAX_TEXT_OBJECTS.
Fields§
§have: usizeHow many text objects the stack already holds.
adding: usizeHow many the refused batch wanted to add.
limit: usizeThe cap, MAX_TEXT_OBJECTS.
Trait Implementations§
Source§impl Clone for TextClipLimit
impl Clone for TextClipLimit
Source§fn clone(&self) -> TextClipLimit
fn clone(&self) -> TextClipLimit
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 TextClipLimit
Source§impl Debug for TextClipLimit
impl Debug for TextClipLimit
Source§impl Display for TextClipLimit
impl Display for TextClipLimit
impl Eq for TextClipLimit
Source§impl Error for TextClipLimit
impl Error for TextClipLimit
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for TextClipLimit
impl PartialEq for TextClipLimit
impl StructuralPartialEq for TextClipLimit
Auto Trait Implementations§
impl Freeze for TextClipLimit
impl RefUnwindSafe for TextClipLimit
impl Send for TextClipLimit
impl Sync for TextClipLimit
impl Unpin for TextClipLimit
impl UnsafeUnpin for TextClipLimit
impl UnwindSafe for TextClipLimit
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