pub struct InterfaceValue<'a> {
pub name: &'a str,
pub annotation: &'a Annotation<'a>,
}Expand description
An exported value with its type, mirroring Elm’s I.Interface values
map (Map Name Can.Annotation). Every entry comes from the type
solver, so interfaces can only be produced for solved modules.
Fields§
§name: &'a str§annotation: &'a Annotation<'a>Trait Implementations§
Source§impl<'a> Clone for InterfaceValue<'a>
impl<'a> Clone for InterfaceValue<'a>
impl<'a> Copy for InterfaceValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for InterfaceValue<'a>
impl<'a> RefUnwindSafe for InterfaceValue<'a>
impl<'a> Send for InterfaceValue<'a>
impl<'a> Sync for InterfaceValue<'a>
impl<'a> Unpin for InterfaceValue<'a>
impl<'a> UnsafeUnpin for InterfaceValue<'a>
impl<'a> UnwindSafe for InterfaceValue<'a>
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