Skip to main content

ProjectIdExt

Trait ProjectIdExt 

Source
pub trait ProjectIdExt {
    // Required method
    fn raw(self) -> u64;
}
Expand description

An extension trait for project ids that makes working with Option<ProjectId> simpler.

Required Methods§

Source

fn raw(self) -> u64

Returns the underlying u64.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ProjectIdExt for Option<ProjectId>

Source§

fn raw(self) -> u64

Implementors§