View all comments
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<T> Bound<T> {
pub fn as_ref(&self) -> Bound<&T>;
pub fn as_mut(&mut self) -> Bound<&mut T>;
}
Steps / History
Unresolved Questions
View all comments
Feature gate:
#![feature(bound_as_ref)]This is a tracking issue for providing
as_refandas_muton bound. These methods mirror similar methods on theOptiontype.Public API
Steps / History
Unresolved Questions