Skip to main content

Counters

Struct Counters 

Source
pub struct Counters<'r, 'm, 'd, 'path, D, G> { /* private fields */ }
Expand description

The complete checked CMS counter set in its actual PDF source domain.

Trait Implementations§

Source§

impl<'d, 'path, D: Copy + Eq, G: Copy + Eq> CounterReceipts<'path, 'd> for Counters<'_, '_, 'd, 'path, D, G>

Source§

type Id = Node

Original node identity.
Source§

type Document = D

Stable document identity.
Source§

type Generation = G

Exact document generation.
Source§

fn snapshot(&self) -> Snapshot<D, G>

Original root source and generation under which all counters were visited.
Source§

fn signature(&self) -> Node

Root signature whose complete incorporated counters were checked.
Source§

fn len(&self) -> usize

Number of countersignatures in the census.
Source§

fn counter(&self, ordinal: usize) -> Counter<'path, 'd, Node>

The countersignature at this census ordinal. Read more
Source§

fn is_empty(&self) -> bool

Whether the census is empty.

Auto Trait Implementations§

§

impl<'r, 'm, 'd, 'path, D, G> !RefUnwindSafe for Counters<'r, 'm, 'd, 'path, D, G>

§

impl<'r, 'm, 'd, 'path, D, G> !Send for Counters<'r, 'm, 'd, 'path, D, G>

§

impl<'r, 'm, 'd, 'path, D, G> !Sync for Counters<'r, 'm, 'd, 'path, D, G>

§

impl<'r, 'm, 'd, 'path, D, G> !UnwindSafe for Counters<'r, 'm, 'd, 'path, D, G>

§

impl<'r, 'm, 'd, 'path, D, G> Freeze for Counters<'r, 'm, 'd, 'path, D, G>
where Mapping<'m, 'd, D, G>: Freeze,

§

impl<'r, 'm, 'd, 'path, D, G> Unpin for Counters<'r, 'm, 'd, 'path, D, G>
where Mapping<'m, 'd, D, G>: Unpin,

§

impl<'r, 'm, 'd, 'path, D, G> UnsafeUnpin for Counters<'r, 'm, 'd, 'path, D, G>
where Mapping<'m, 'd, D, G>: UnsafeUnpin,

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> 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, 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.