blob: 9bc397a9e8391b820cea32b092158c4708630a2e [file] [log] [blame]
// Copyright 2020 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.
//! Extensions for `fidl_fuchsia_test`.
use fidl_fuchsia_test as ftest;
/// Extension trait that provides a manual implementation of `std::clone::Clone`.
pub trait CloneExt {
fn clone(&self) -> Self;
}
impl CloneExt for ftest::RunOptions {
fn clone(&self) -> Self {
ftest::RunOptions { include_disabled_tests: self.include_disabled_tests }
}
}