Skip to content

Tracking Issue for bound_as_ref #80996

Open
@glittershark

Description

@glittershark

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

  • None yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions