pub struct CallTypeArguments(/* private fields */);Implementations§
Source§impl CallTypeArguments
impl CallTypeArguments
pub const fn none() -> Self
pub fn unresolved(annotations: Vec<Annotation>) -> Self
pub fn resolved(arguments: impl IntoIterator<Item = (Annotation, Type)>) -> Self
pub fn checked_without_types(annotations: Vec<Annotation>) -> Self
pub fn annotations( &self, ) -> impl ExactSizeIterator<Item = &Annotation> + DoubleEndedIterator + Clone
pub fn resolved_types(&self) -> Option<ResolvedCallTypeArguments<'_>>
pub fn into_annotations(self) -> Vec<Annotation>
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for CallTypeArguments
impl Clone for CallTypeArguments
Source§impl Debug for CallTypeArguments
impl Debug for CallTypeArguments
Source§impl Default for CallTypeArguments
impl Default for CallTypeArguments
Source§impl PartialEq for CallTypeArguments
impl PartialEq for CallTypeArguments
impl StructuralPartialEq for CallTypeArguments
Auto Trait Implementations§
impl Forget for CallTypeArguments
impl Freeze for CallTypeArguments
impl Move for CallTypeArguments
impl RefUnwindSafe for CallTypeArguments
impl Send for CallTypeArguments
impl Sync for CallTypeArguments
impl Unpin for CallTypeArguments
impl UnsafeUnpin for CallTypeArguments
impl UnwindSafe for CallTypeArguments
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