pub struct SalienceMap {
pub constraints: HashMap<String, String>,
pub context_required: Vec<String>,
pub valence: Option<f64>,
}Expand description
Map of content salience — which parts matter most.
Fields§
§constraints: HashMap<String, String>§context_required: Vec<String>§valence: Option<f64>Trait Implementations§
Source§impl Clone for SalienceMap
impl Clone for SalienceMap
Source§fn clone(&self) -> SalienceMap
fn clone(&self) -> SalienceMap
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 SalienceMap
impl Debug for SalienceMap
Source§impl Default for SalienceMap
impl Default for SalienceMap
Source§fn default() -> SalienceMap
fn default() -> SalienceMap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SalienceMap
impl RefUnwindSafe for SalienceMap
impl Send for SalienceMap
impl Sync for SalienceMap
impl Unpin for SalienceMap
impl UnsafeUnpin for SalienceMap
impl UnwindSafe for SalienceMap
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