pub struct EnumStorage {
pub fqcn: Arc<str>,
pub short_name: Arc<str>,
pub scalar_type: Option<Union>,
pub interfaces: Vec<Arc<str>>,
pub cases: IndexMap<Arc<str>, EnumCaseStorage>,
pub own_methods: IndexMap<Arc<str>, MethodStorage>,
pub own_constants: IndexMap<Arc<str>, ConstantStorage>,
pub location: Option<Location>,
}Fields§
§fqcn: Arc<str>§short_name: Arc<str>§scalar_type: Option<Union>§interfaces: Vec<Arc<str>>§cases: IndexMap<Arc<str>, EnumCaseStorage>§own_methods: IndexMap<Arc<str>, MethodStorage>§own_constants: IndexMap<Arc<str>, ConstantStorage>§location: Option<Location>Trait Implementations§
Source§impl Clone for EnumStorage
impl Clone for EnumStorage
Source§fn clone(&self) -> EnumStorage
fn clone(&self) -> EnumStorage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnumStorage
impl Debug for EnumStorage
Source§impl<'de> Deserialize<'de> for EnumStorage
impl<'de> Deserialize<'de> for EnumStorage
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
Source§impl PartialEq for EnumStorage
impl PartialEq for EnumStorage
Source§impl Serialize for EnumStorage
impl Serialize for EnumStorage
impl StructuralPartialEq for EnumStorage
Auto Trait Implementations§
impl Freeze for EnumStorage
impl RefUnwindSafe for EnumStorage
impl Send for EnumStorage
impl Sync for EnumStorage
impl Unpin for EnumStorage
impl UnsafeUnpin for EnumStorage
impl UnwindSafe for EnumStorage
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