Enum class_file::attr::ConstantValueInfo
source · pub enum ConstantValueInfo<'a> {
Integer(&'a IntegerInfo),
Float(&'a FloatInfo),
Long(&'a LongInfo),
Double(&'a DoubleInfo),
String(&'a StringInfo<'a>),
}
Variants
Integer(&'a IntegerInfo)
Float(&'a FloatInfo)
Long(&'a LongInfo)
Double(&'a DoubleInfo)
String(&'a StringInfo<'a>)
Trait Implementations
sourceimpl<'a> CPType<'a> for ConstantValueInfo<'a>
impl<'a> CPType<'a> for ConstantValueInfo<'a>
sourceimpl<'a> Clone for ConstantValueInfo<'a>
impl<'a> Clone for ConstantValueInfo<'a>
sourcefn clone(&self) -> ConstantValueInfo<'a>
fn clone(&self) -> ConstantValueInfo<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for ConstantValueInfo<'a>
impl<'a> Debug for ConstantValueInfo<'a>
sourceimpl<'a> Hash for ConstantValueInfo<'a>
impl<'a> Hash for ConstantValueInfo<'a>
sourceimpl<'a> PartialEq<ConstantValueInfo<'a>> for ConstantValueInfo<'a>
impl<'a> PartialEq<ConstantValueInfo<'a>> for ConstantValueInfo<'a>
sourcefn eq(&self, other: &ConstantValueInfo<'a>) -> bool
fn eq(&self, other: &ConstantValueInfo<'a>) -> bool
impl<'a> Eq for ConstantValueInfo<'a>
impl<'a> StructuralEq for ConstantValueInfo<'a>
impl<'a> StructuralPartialEq for ConstantValueInfo<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ConstantValueInfo<'a>
impl<'a> Send for ConstantValueInfo<'a>
impl<'a> Sync for ConstantValueInfo<'a>
impl<'a> Unpin for ConstantValueInfo<'a>
impl<'a> UnwindSafe for ConstantValueInfo<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more