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
gcHeapLatin1: usize
gcHeapTwoByte: usize
mallocHeapLatin1: usize
mallocHeapTwoByte: usize
numCopies: u32