pub trait Zeroed {
    // Required method
    fn zeroed() -> Self;
}
Expand description

For structs that benefit from an alternative to default() to be able to write more expressive code.

Required Methods§

source

fn zeroed() -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Zeroed for POINT

source§

fn zeroed() -> Self

source§

impl Zeroed for SIZE

source§

fn zeroed() -> Self

Implementors§