Tracking Issue for bound_as_ref · Issue #80996 · rust-lang/rust (original) (raw)
Feature gate: #![feature(bound_as_ref)]
This is a tracking issue for providing as_ref
and as_mut
on bound. These methods mirror similar methods on the Option
type.
Public API
impl Bound { pub fn as_ref(&self) -> Bound<&T>; pub fn as_mut(&mut self) -> Bound<&mut T>; }
Steps / History
- Implementation: Add as_ref and as_mut methods for Bound #80444
- Final commenting period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.