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
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)