pub struct AttributeArgInfo {
pub name: Option<String>,
pub type_string: Option<String>,
}Expand description
A parameter attribute argument, as far as mir can evaluate it statically.
Fields§
§name: Option<String>§type_string: Option<String>Docblock-syntax type of the argument; a literal for literal values
('abc', 42). None when mir cannot evaluate the expression.
Trait Implementations§
Source§impl Clone for AttributeArgInfo
impl Clone for AttributeArgInfo
Source§impl Debug for AttributeArgInfo
impl Debug for AttributeArgInfo
impl Eq for AttributeArgInfo
Source§impl PartialEq for AttributeArgInfo
impl PartialEq for AttributeArgInfo
impl StructuralPartialEq for AttributeArgInfo
Auto Trait Implementations§
impl Freeze for AttributeArgInfo
impl RefUnwindSafe for AttributeArgInfo
impl Send for AttributeArgInfo
impl Sync for AttributeArgInfo
impl Unpin for AttributeArgInfo
impl UnsafeUnpin for AttributeArgInfo
impl UnwindSafe for AttributeArgInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.