pub struct InvalidConstValue { /* private fields */ }Implementations§
Source§impl InvalidConstValue
impl InvalidConstValue
pub fn const_value(&self) -> &ConstValue
Trait Implementations§
Source§impl Debug for InvalidConstValue
impl Debug for InvalidConstValue
Source§impl Diagnostic for InvalidConstValue
impl Diagnostic for InvalidConstValue
Source§impl From<InvalidConstValue> for Error
impl From<InvalidConstValue> for Error
Source§fn from(e: InvalidConstValue) -> Self
fn from(e: InvalidConstValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidConstValue
impl RefUnwindSafe for InvalidConstValue
impl Send for InvalidConstValue
impl Sync for InvalidConstValue
impl Unpin for InvalidConstValue
impl UnwindSafe for InvalidConstValue
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