pub struct Sentence {
pub index: usize,
pub length: usize,
pub outgoing_connections: Option<HashMap<usize, usize>>,
pub text: String,
pub words: HashSet<String>,
pub number_of_connections: f32,
pub originating_file: String,
}
Fields§
§index: usize
§length: usize
§outgoing_connections: Option<HashMap<usize, usize>>
§text: String
§words: HashSet<String>
§number_of_connections: f32
§originating_file: String
Trait Implementations§
impl StructuralPartialEq for Sentence
Auto Trait Implementations§
impl Freeze for Sentence
impl RefUnwindSafe for Sentence
impl Send for Sentence
impl Sync for Sentence
impl Unpin for Sentence
impl UnwindSafe for Sentence
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