Enum bindgen::callbacks::ImplementsTrait [−][src]
pub enum ImplementsTrait {
Yes,
Manually,
No,
}
Expand description
Whether it is possible or not to automatically derive trait for an item.
No
^
|
Manually
^
|
Yes
Initially we assume that we can derive trait for all types and then update our understanding as we learn more about each type.
Variants
Yes
Yes, we can derive automatically.
Manually
The only thing that stops us from automatically deriving is that array with more than maximum number of elements is used.
This means we probably can “manually” implement such trait.
No
No, we cannot.
Implementations
Trait Implementations
Performs the |=
operation. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CanDerive
impl UnwindSafe for CanDerive
Blanket Implementations
Mutably borrows from an owned value. Read more