pub struct FlagKeyRegistry {
pub export_name: String,
pub members: Vec<(String, String)>,
}Expand description
A flag-key registry that a module exports: a module-level as const
object or a TypeScript enum whose members hold string flag keys.
Fields§
§export_name: StringName the module exports the registry under.
members: Vec<(String, String)>Member name and flag key of each string member, in declaration order.
Trait Implementations§
Source§impl Clone for FlagKeyRegistry
impl Clone for FlagKeyRegistry
Source§impl Debug for FlagKeyRegistry
impl Debug for FlagKeyRegistry
impl<'__de> Decode<'__de> for FlagKeyRegistrywhere
'__de:,
impl Encode for FlagKeyRegistry
impl Eq for FlagKeyRegistry
Source§impl PartialEq for FlagKeyRegistry
impl PartialEq for FlagKeyRegistry
impl StructuralPartialEq for FlagKeyRegistry
Auto Trait Implementations§
impl Freeze for FlagKeyRegistry
impl RefUnwindSafe for FlagKeyRegistry
impl Send for FlagKeyRegistry
impl Sync for FlagKeyRegistry
impl Unpin for FlagKeyRegistry
impl UnsafeUnpin for FlagKeyRegistry
impl UnwindSafe for FlagKeyRegistry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.