Struct style::servo::selector_parser::SnapshotMap
[−]
[src]
pub struct SnapshotMap(_);
A map from elements to snapshots for the Servo style back-end.
Methods
impl SnapshotMap[src]
pub fn new() -> Self[src]
Create a new empty SnapshotMap.
pub fn get<T: TElement>(&self, el: &T) -> Option<&ServoElementSnapshot>[src]
Get a snapshot given an element.
Trait Implementations
impl Debug for SnapshotMap[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Deref for SnapshotMap[src]
type Target = FnvHashMap<OpaqueNode, ServoElementSnapshot>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
Dereferences the value.