Skip to content

Tracking Issue for 'ordering helpers' #79885

Closed
@jnqnfe

Description

@jnqnfe

Feature gate: #![feature(ordering_helpers)]

This is a tracking issue for the 'ordering helpers' feature, which sets out to add some simple helpers to Ordering such as is_ge() for checking whether an instance of Ordering is 'greater than or equal' (is the Greater or Equal variant, not the Less variant).

Public API

// core::cmp
impl Ordering {
    pub const fn is_eq(self) -> bool;
    pub const fn is_ne(self) -> bool;
    pub const fn is_lt(self) -> bool;
    pub const fn is_gt(self) -> bool;
    pub const fn is_le(self) -> bool;
    pub const fn is_ge(self) -> bool;
}

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 RFCLibs-TrackedLibs issues that are tracked on the team's project board.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions