Struct fidl::marker::SourceBreaking
source · pub struct SourceBreaking;
Expand description
A marker for source-breaking patterns.
Generated FIDL bindings use this type to explicitly mark Rust types’ usage
pattern as source-breaking. That is, even if the marked type provides ABI
guarantees handling fields marked with SourceBreaking
means probably
opting out of source compatibility guarantees provided by the Rust FIDL
bindings.
Trait Implementations§
source§impl Clone for SourceBreaking
impl Clone for SourceBreaking
source§fn clone(&self) -> SourceBreaking
fn clone(&self) -> SourceBreaking
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SourceBreaking
impl Debug for SourceBreaking
source§impl Default for SourceBreaking
impl Default for SourceBreaking
source§fn default() -> SourceBreaking
fn default() -> SourceBreaking
Returns the “default value” for a type. Read more
source§impl PartialEq for SourceBreaking
impl PartialEq for SourceBreaking
source§fn eq(&self, other: &SourceBreaking) -> bool
fn eq(&self, other: &SourceBreaking) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SourceBreaking
impl StructuralPartialEq for SourceBreaking
Auto Trait Implementations§
impl Freeze for SourceBreaking
impl RefUnwindSafe for SourceBreaking
impl Send for SourceBreaking
impl Sync for SourceBreaking
impl Unpin for SourceBreaking
impl UnwindSafe for SourceBreaking
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)