Skip to main content

Review

Struct Review 

Source
pub struct Review {
    pub reading: Reading,
    pub questions: Vec<Question>,
    pub latent: Vec<Question>,
    pub bars: Vec<BarPlace>,
    pub marks: Vec<NoteMark>,
    pub pages: Vec<[f64; 2]>,
}
Expand description

A PDF’s reading and the questions a person answers to settle what the reader could not.

Fields§

§reading: Reading§questions: Vec<Question>

One a doubt to ask; a system’s part question is one question.

§latent: Vec<Question>

The read bars the reader had other readings of: shown when a person flags the bar.

§bars: Vec<BarPlace>

Where every bar of every system is on its page.

§marks: Vec<NoteMark>

Where every note read is, for an overlay.

§pages: Vec<[f64; 2]>

The pages’ sizes, in points.

Implementations§

Source§

impl Review

Source

pub fn to_json(&self) -> String

The review as JSON, its fields as named here (reading as reading_json).

Trait Implementations§

Source§

impl Clone for Review

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Review

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Forget for Review

§

impl Freeze for Review

§

impl Move for Review

§

impl RefUnwindSafe for Review

§

impl Send for Review
where RawVecInner: Send, NodeRef<Owned, (i64, String), Seen, LeafOrInternal>: Send, BoxRaw<((i64, String), Seen)>: Send, NodeRef<Owned, (i64, String), Place, LeafOrInternal>: Send, BoxRaw<((i64, String), Place)>: Send, NodeRef<Owned, i64, usize, LeafOrInternal>: Send, BoxRaw<(i64, usize)>: Send,

§

impl Sync for Review
where RawVecInner: Sync, NodeRef<Owned, (i64, String), Seen, LeafOrInternal>: Sync, BoxRaw<((i64, String), Seen)>: Sync, NodeRef<Owned, (i64, String), Place, LeafOrInternal>: Sync, BoxRaw<((i64, String), Place)>: Sync, NodeRef<Owned, i64, usize, LeafOrInternal>: Sync, BoxRaw<(i64, usize)>: Sync,

§

impl Unpin for Review
where *const u8 is !null: Unpin, *const LeafNode<(i64, String), Seen> is !null: Unpin, Box<((i64, String), Seen)>: Unpin, *const LeafNode<(i64, String), Place> is !null: Unpin, Box<((i64, String), Place)>: Unpin, *const LeafNode<i64, usize> is !null: Unpin, Box<(i64, usize)>: Unpin,

§

impl UnsafeUnpin for Review

§

impl UnwindSafe for Review

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(_simd: S, value: T) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.