pub struct TextRecord {
pub text: String,
pub weight: Option<u64>,
}Expand description
One input text and its optional interaction-derived weight.
Fields§
§text: String§weight: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for TextRecord
impl Clone for TextRecord
Source§fn clone(&self) -> TextRecord
fn clone(&self) -> TextRecord
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 moreSource§impl Debug for TextRecord
impl Debug for TextRecord
impl Eq for TextRecord
Source§impl PartialEq for TextRecord
impl PartialEq for TextRecord
impl StructuralPartialEq for TextRecord
Auto Trait Implementations§
impl Freeze for TextRecord
impl RefUnwindSafe for TextRecord
impl Send for TextRecord
impl Sync for TextRecord
impl Unpin for TextRecord
impl UnsafeUnpin for TextRecord
impl UnwindSafe for TextRecord
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