pub struct CifWriteOptions { /* private fields */ }Expand description
Decisions that cannot be recovered from a lowered structure.
Implementations§
Source§impl CifWriteOptions
impl CifWriteOptions
Sourcepub fn with_block_id(self, block_id: impl Into<Box<str>>) -> Self
pub fn with_block_id(self, block_id: impl Into<Box<str>>) -> Self
Uses this explicit data-block identifier instead of _entry.id.
Sourcepub const fn with_generated_connection_ids(self) -> Self
pub const fn with_generated_connection_ids(self) -> Self
Allows deterministic _struct_conn.id values when connectivity exists.
The core bond graph does not retain a deposited connection identifier, so canonical connectivity cannot be written unless this choice is made.
Sourcepub fn with_connection_type_id(self, value: impl Into<Box<str>>) -> Self
pub fn with_connection_type_id(self, value: impl Into<Box<str>>) -> Self
Declares the _struct_conn.conn_type_id assigned to graph bonds.
The generic bond graph retains order and provenance but not the source dictionary’s connection classification, so it must be supplied.
Trait Implementations§
Source§impl Clone for CifWriteOptions
impl Clone for CifWriteOptions
Source§impl Debug for CifWriteOptions
impl Debug for CifWriteOptions
Source§impl Default for CifWriteOptions
impl Default for CifWriteOptions
impl Eq for CifWriteOptions
Source§impl PartialEq for CifWriteOptions
impl PartialEq for CifWriteOptions
impl StructuralPartialEq for CifWriteOptions
Auto Trait Implementations§
impl Freeze for CifWriteOptions
impl RefUnwindSafe for CifWriteOptions
impl Send for CifWriteOptions
impl Sync for CifWriteOptions
impl Unpin for CifWriteOptions
impl UnsafeUnpin for CifWriteOptions
impl UnwindSafe for CifWriteOptions
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more