1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2023 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

//! Marker types supporting FIDL bindings.

/// 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.
#[derive(Clone, Default, Debug, PartialEq, Eq)]
pub struct SourceBreaking;