pub struct PropertyMap {
pub declarations: JsMap<DeclEntry>,
pub config: &'static Value,
pub property_names: HashMap<u32, Rc<str>>,
/* private fields */
}Expand description
map of declarations that can be merged into a single shorthand declaration
Fields§
§declarations: JsMap<DeclEntry>§config: &'static Value§property_names: HashMap<u32, Rc<str>>longhand property name of the matched tokens
Implementations§
Source§impl PropertyMap
impl PropertyMap
pub fn new( config: &'static Value, memo: Option<Rc<RefCell<DeclarationMemo>>>, ) -> Self
pub fn add(&mut self, arena: &AstArena, declaration: u32) -> &mut Self
Auto Trait Implementations§
impl !RefUnwindSafe for PropertyMap
impl !Send for PropertyMap
impl !Sync for PropertyMap
impl !UnwindSafe for PropertyMap
impl Forget for PropertyMap
impl Freeze for PropertyMap
impl Move for PropertyMap
impl Unpin for PropertyMap
impl UnsafeUnpin for PropertyMap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more