pub struct ConceptUnit {
pub unit_id: u64,
pub role: ConceptRole,
pub relevance: f32,
}Expand description
A concept-mapped unit and its role.
Fields§
§unit_id: u64The unit.
role: ConceptRoleRole of this unit in the concept.
relevance: f32Relevance score.
Trait Implementations§
Source§impl Clone for ConceptUnit
impl Clone for ConceptUnit
Source§fn clone(&self) -> ConceptUnit
fn clone(&self) -> ConceptUnit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConceptUnit
impl RefUnwindSafe for ConceptUnit
impl Send for ConceptUnit
impl Sync for ConceptUnit
impl Unpin for ConceptUnit
impl UnsafeUnpin for ConceptUnit
impl UnwindSafe for ConceptUnit
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