pub struct ConstantStorage {
pub name: Arc<str>,
pub ty: Union,
pub visibility: Option<Visibility>,
pub location: Option<Location>,
}Fields§
§name: Arc<str>§ty: Union§visibility: Option<Visibility>§location: Option<Location>Trait Implementations§
Source§impl Clone for ConstantStorage
impl Clone for ConstantStorage
Source§fn clone(&self) -> ConstantStorage
fn clone(&self) -> ConstantStorage
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 ConstantStorage
impl Debug for ConstantStorage
Source§impl<'de> Deserialize<'de> for ConstantStorage
impl<'de> Deserialize<'de> for ConstantStorage
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 ConstantStorage
impl PartialEq for ConstantStorage
Source§impl Serialize for ConstantStorage
impl Serialize for ConstantStorage
impl StructuralPartialEq for ConstantStorage
Auto Trait Implementations§
impl Freeze for ConstantStorage
impl RefUnwindSafe for ConstantStorage
impl Send for ConstantStorage
impl Sync for ConstantStorage
impl Unpin for ConstantStorage
impl UnsafeUnpin for ConstantStorage
impl UnwindSafe for ConstantStorage
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