pub struct Literals;Trait Implementations§
Source§impl ConstantSource for Literals
impl ConstantSource for Literals
fn definition(&self, _qualified_name: &str) -> Option<&Definition>
fn local_constant(&self, _binding: BindingId) -> Option<Constant>
fn named_constant(&self, qualified_name: &str) -> Option<Value>
fn underlying_kind(&self, ty: &Type) -> Option<SimpleKind>
fn array_length(&self, ty: &Type) -> Option<u64>
fn is_newtype(&self, qualified_name: &str) -> bool
Auto Trait Implementations§
impl Forget for Literals
impl Freeze for Literals
impl Move for Literals
impl RefUnwindSafe for Literals
impl Send for Literals
impl Sync for Literals
impl Unpin for Literals
impl UnsafeUnpin for Literals
impl UnwindSafe for Literals
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