Struct wordnet::PointerRef
[−]
[src]
pub struct PointerRef<'db> { pub relationship: Relationship, pub part_of_speech: PartOfSpeech, // some fields omitted }
Connects a Sense to words that relationship
A PointerRef has not been loaded from the database yet. You
can call read()
to do that.
Fields
relationship: Relationship
The relationship this pointer has
from the original word to to the sense
you can read with read()
part_of_speech: PartOfSpeech
The part of the speech that this new sense has.
Methods
impl<'db> PointerRef<'db>
[src]
fn read(&self) -> Sense<'db>
[src]
Read this pointer from the database files. This might lead to a Sense that you already have seen so be careful to not recurse indefinitely.
If you only use look at once relationship
, then everything
should be ok