#[non_exhaustive]pub struct BmopfWriteOptions {
pub sideload_coordinates: bool,
}Expand description
Options for BMOPF JSON output.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sideload_coordinates: boolEmit the BMOPFTools coordinate sideload fields on buses.
The default stays schema strict because the BMOPF schema rejects these
fields with additionalProperties: false.
Trait Implementations§
Source§impl Clone for BmopfWriteOptions
impl Clone for BmopfWriteOptions
Source§fn clone(&self) -> BmopfWriteOptions
fn clone(&self) -> BmopfWriteOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BmopfWriteOptions
Source§impl Debug for BmopfWriteOptions
impl Debug for BmopfWriteOptions
Source§impl Default for BmopfWriteOptions
impl Default for BmopfWriteOptions
Source§fn default() -> BmopfWriteOptions
fn default() -> BmopfWriteOptions
Returns the “default value” for a type. Read more
impl Eq for BmopfWriteOptions
Source§impl PartialEq for BmopfWriteOptions
impl PartialEq for BmopfWriteOptions
impl StructuralPartialEq for BmopfWriteOptions
Auto Trait Implementations§
impl Freeze for BmopfWriteOptions
impl RefUnwindSafe for BmopfWriteOptions
impl Send for BmopfWriteOptions
impl Sync for BmopfWriteOptions
impl Unpin for BmopfWriteOptions
impl UnsafeUnpin for BmopfWriteOptions
impl UnwindSafe for BmopfWriteOptions
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