pub struct StubSlice {
pub classes: Vec<ClassStorage>,
pub interfaces: Vec<InterfaceStorage>,
pub traits: Vec<TraitStorage>,
pub enums: Vec<EnumStorage>,
pub functions: Vec<FunctionStorage>,
pub constants: Vec<(Arc<str>, Union)>,
}Expand description
A snapshot of all PHP definitions contributed by a single stub file set.
Produced by mir-stubs-gen at code-generation time and deserialized at
runtime to inject definitions into the Codebase.
Fields§
§classes: Vec<ClassStorage>§interfaces: Vec<InterfaceStorage>§traits: Vec<TraitStorage>§enums: Vec<EnumStorage>§functions: Vec<FunctionStorage>§constants: Vec<(Arc<str>, Union)>Trait Implementations§
Source§impl<'de> Deserialize<'de> for StubSlice
impl<'de> Deserialize<'de> for StubSlice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StubSlice
impl RefUnwindSafe for StubSlice
impl Send for StubSlice
impl Sync for StubSlice
impl Unpin for StubSlice
impl UnsafeUnpin for StubSlice
impl UnwindSafe for StubSlice
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