pub struct FlagRegistryRead {
pub registry: String,
pub member: String,
pub flag_use: FlagUse,
}Expand description
A flag read whose key is a member of an imported registry, as in
useFlag(FLAGS.X) where FLAGS is imported.
Extraction sees one file only, so project analysis resolves the key
through the import of registry.
Fields§
§registry: StringLocal name of the imported registry binding.
member: StringRegistry member that holds the flag key.
flag_use: FlagUseThe read site. flag_name stays empty until analysis resolves the key.
Trait Implementations§
Source§impl Clone for FlagRegistryRead
impl Clone for FlagRegistryRead
Source§impl Debug for FlagRegistryRead
impl Debug for FlagRegistryRead
impl<'__de> Decode<'__de> for FlagRegistryReadwhere
'__de:,
impl Encode for FlagRegistryRead
Auto Trait Implementations§
impl Freeze for FlagRegistryRead
impl RefUnwindSafe for FlagRegistryRead
impl Send for FlagRegistryRead
impl Sync for FlagRegistryRead
impl Unpin for FlagRegistryRead
impl UnsafeUnpin for FlagRegistryRead
impl UnwindSafe for FlagRegistryRead
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