Skip to main content

Entry

Struct Entry 

Source
#[doc(hidden)]
pub struct Entry { count: usize, index: usize, }
Expand description

Entry in the reference count map.

This is an implementation detail exposed for generic type bounds.

Fields§

§count: usize

Reference count (how many times this SEXP has been protected)

§index: usize

Index in the backing VECSXP

Trait Implementations§

Source§

impl Clone for Entry

Source§

fn clone(&self) -> Entry

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 Entry

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Copy for Entry

Source§

impl TrivialClone for Entry

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes