pub struct ConceptUnit {
pub unit_id: u64,
pub role: ConceptRole,
pub score: f32,
}Expand description
A code unit’s membership in a concept.
Fields§
§unit_id: u64Unit temp_id.
role: ConceptRoleRole in the concept.
score: f32Score (0.0 to 1.0).
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