pub struct CapabilityDeprecationRegistry { /* private fields */ }Implementations§
Source§impl CapabilityDeprecationRegistry
impl CapabilityDeprecationRegistry
pub fn new() -> Self
pub fn register_vendor_extension( &mut self, name: impl Into<String>, message: impl Into<String>, )
pub fn warnings_for(&self, caps: &CapabilitiesSummary) -> Vec<String>
Trait Implementations§
Source§impl Clone for CapabilityDeprecationRegistry
impl Clone for CapabilityDeprecationRegistry
Source§fn clone(&self) -> CapabilityDeprecationRegistry
fn clone(&self) -> CapabilityDeprecationRegistry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CapabilityDeprecationRegistry
impl Default for CapabilityDeprecationRegistry
Source§fn default() -> CapabilityDeprecationRegistry
fn default() -> CapabilityDeprecationRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CapabilityDeprecationRegistry
impl RefUnwindSafe for CapabilityDeprecationRegistry
impl Send for CapabilityDeprecationRegistry
impl Sync for CapabilityDeprecationRegistry
impl Unpin for CapabilityDeprecationRegistry
impl UnsafeUnpin for CapabilityDeprecationRegistry
impl UnwindSafe for CapabilityDeprecationRegistry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more