pub enum LangFnItem {
Vec,
}Expand description
Lang-item name applied to a function declaration. Used for type-constructor functions whose result has compiler-recognized behavior (indexing, slice-borrow, drop synthesis, etc.).
Variants§
Vec
Vec(comptime T: type) -> type (ADR-0082). Instances of the
returned struct are recognized as the canonical owned-buffer
vector for v[i] indexing, &v[..] slice borrows, and drop
synthesis.
Implementations§
Trait Implementations§
Source§impl Clone for LangFnItem
impl Clone for LangFnItem
Source§fn clone(&self) -> LangFnItem
fn clone(&self) -> LangFnItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LangFnItem
impl Debug for LangFnItem
Source§impl Hash for LangFnItem
impl Hash for LangFnItem
Source§impl PartialEq for LangFnItem
impl PartialEq for LangFnItem
impl Copy for LangFnItem
impl Eq for LangFnItem
impl StructuralPartialEq for LangFnItem
Auto Trait Implementations§
impl Freeze for LangFnItem
impl RefUnwindSafe for LangFnItem
impl Send for LangFnItem
impl Sync for LangFnItem
impl Unpin for LangFnItem
impl UnsafeUnpin for LangFnItem
impl UnwindSafe for LangFnItem
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