Struct js::jsapi::StringInfo [] [src]

#[repr(C)]
pub struct StringInfo { pub gcHeapLatin1: usize, pub gcHeapTwoByte: usize, pub mallocHeapLatin1: usize, pub mallocHeapTwoByte: usize, pub numCopies: u32, }

This class holds information about the memory taken up by identical copies of a particular string. Multiple JSStrings may have their sizes aggregated together into one StringInfo object. Note that two strings with identical chars will not be aggregated together if one is a short string and the other is not.

Fields

Trait Implementations

impl Debug for StringInfo
[src]

[src]

Formats the value using the given formatter.

impl Copy for StringInfo
[src]

impl Clone for StringInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more