pub(crate) struct PropertyTables {
single_phase_property_map: CapeOpenMap<SinglePhaseProperty>,
}Expand description
Singleton table of supported properties with lookup function
Fields§
§single_phase_property_map: CapeOpenMap<SinglePhaseProperty>Lookup table for single phase properties by identifier, case insensive.
Implementations§
Source§impl PropertyTables
impl PropertyTables
Sourcefn new() -> PropertyTables
fn new() -> PropertyTables
Construction of the singleton instance of the property tables.
Builds the property table.
§Returns
A new instance of PropertyTables.
Sourcepub fn get_single_phase_property<'a, 'b, S: CapeStringConstProvider>(
&'a self,
prop_name: &'b S,
) -> Option<&'a SinglePhaseProperty>where
'b: 'a,
pub fn get_single_phase_property<'a, 'b, S: CapeStringConstProvider>(
&'a self,
prop_name: &'b S,
) -> Option<&'a SinglePhaseProperty>where
'b: 'a,
Auto Trait Implementations§
impl Freeze for PropertyTables
impl RefUnwindSafe for PropertyTables
impl Send for PropertyTables
impl Sync for PropertyTables
impl Unpin for PropertyTables
impl UnwindSafe for PropertyTables
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