#[non_exhaustive]pub struct HighlightInfo {
pub entities: u32,
pub words: u32,
pub sent_words: u32,
pub runs: u32,
pub full: bool,
}Expand description
what the last prepare sent of the highlights (Scene::highlight_info). It may grow
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.entities: u32entities highlighted (selected, hovered or both)
words: u32the mask’s words on the GPU; the words and runs the last prepare sent; it made the mask anew
sent_words: u32§runs: u32§full: boolTrait Implementations§
Source§impl Clone for HighlightInfo
impl Clone for HighlightInfo
impl Copy for HighlightInfo
Source§impl Debug for HighlightInfo
impl Debug for HighlightInfo
Source§impl Default for HighlightInfo
impl Default for HighlightInfo
impl Eq for HighlightInfo
Source§impl PartialEq for HighlightInfo
impl PartialEq for HighlightInfo
impl StructuralPartialEq for HighlightInfo
Auto Trait Implementations§
impl Forget for HighlightInfo
impl Freeze for HighlightInfo
impl Move for HighlightInfo
impl RefUnwindSafe for HighlightInfo
impl Send for HighlightInfo
impl Sync for HighlightInfo
impl Unpin for HighlightInfo
impl UnsafeUnpin for HighlightInfo
impl UnwindSafe for HighlightInfo
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