#[repr(C)]pub struct optionstruct {Show 21 fields
pub getcanon: c_int,
pub digraph: boolean,
pub writeautoms: boolean,
pub writemarkers: boolean,
pub defaultptn: boolean,
pub cartesian: boolean,
pub linelength: c_int,
pub outfile: *mut FILE,
pub userrefproc: Option<unsafe extern "C" fn(arg1: *mut graph, arg2: *mut c_int, arg3: *mut c_int, arg4: c_int, arg5: *mut c_int, arg6: *mut c_int, arg7: *mut set, arg8: *mut c_int, arg9: c_int, arg10: c_int)>,
pub userautomproc: Option<unsafe extern "C" fn(arg1: c_int, arg2: *mut c_int, arg3: *mut c_int, arg4: c_int, arg5: c_int, arg6: c_int)>,
pub userlevelproc: Option<unsafe extern "C" fn(arg1: *mut c_int, arg2: *mut c_int, arg3: c_int, arg4: *mut c_int, arg5: *mut statsblk, arg6: c_int, arg7: c_int, arg8: c_int, arg9: c_int, arg10: c_int, arg11: c_int)>,
pub usernodeproc: Option<unsafe extern "C" fn(arg1: *mut graph, arg2: *mut c_int, arg3: *mut c_int, arg4: c_int, arg5: c_int, arg6: c_int, arg7: c_int, arg8: c_int, arg9: c_int)>,
pub usercanonproc: Option<unsafe extern "C" fn(arg1: *mut graph, arg2: *mut c_int, arg3: *mut graph, arg4: c_ulong, arg5: c_int, arg6: c_int, arg7: c_int) -> c_int>,
pub invarproc: Option<unsafe extern "C" fn(arg1: *mut graph, arg2: *mut c_int, arg3: *mut c_int, arg4: c_int, arg5: c_int, arg6: c_int, arg7: *mut c_int, arg8: c_int, arg9: boolean, arg10: c_int, arg11: c_int)>,
pub tc_level: c_int,
pub mininvarlevel: c_int,
pub maxinvarlevel: c_int,
pub invararg: c_int,
pub dispatch: *mut dispatchvec,
pub schreier: boolean,
pub extra_options: *mut c_void,
}Fields§
§getcanon: c_int§digraph: boolean§writeautoms: boolean§writemarkers: boolean§defaultptn: boolean§cartesian: boolean§linelength: c_int§outfile: *mut FILE§userrefproc: Option<unsafe extern "C" fn(arg1: *mut graph, arg2: *mut c_int, arg3: *mut c_int, arg4: c_int, arg5: *mut c_int, arg6: *mut c_int, arg7: *mut set, arg8: *mut c_int, arg9: c_int, arg10: c_int)>§userautomproc: Option<unsafe extern "C" fn(arg1: c_int, arg2: *mut c_int, arg3: *mut c_int, arg4: c_int, arg5: c_int, arg6: c_int)>§userlevelproc: Option<unsafe extern "C" fn(arg1: *mut c_int, arg2: *mut c_int, arg3: c_int, arg4: *mut c_int, arg5: *mut statsblk, arg6: c_int, arg7: c_int, arg8: c_int, arg9: c_int, arg10: c_int, arg11: c_int)>§usernodeproc: Option<unsafe extern "C" fn(arg1: *mut graph, arg2: *mut c_int, arg3: *mut c_int, arg4: c_int, arg5: c_int, arg6: c_int, arg7: c_int, arg8: c_int, arg9: c_int)>§usercanonproc: Option<unsafe extern "C" fn(arg1: *mut graph, arg2: *mut c_int, arg3: *mut graph, arg4: c_ulong, arg5: c_int, arg6: c_int, arg7: c_int) -> c_int>§invarproc: Option<unsafe extern "C" fn(arg1: *mut graph, arg2: *mut c_int, arg3: *mut c_int, arg4: c_int, arg5: c_int, arg6: c_int, arg7: *mut c_int, arg8: c_int, arg9: boolean, arg10: c_int, arg11: c_int)>§tc_level: c_int§mininvarlevel: c_int§maxinvarlevel: c_int§invararg: c_int§dispatch: *mut dispatchvec§schreier: boolean§extra_options: *mut c_voidImplementations§
Source§impl optionstruct
impl optionstruct
Sourcepub fn default_digraph() -> Self
pub fn default_digraph() -> Self
Default options for directed graphs, equivalent to nauty’s DEFAULTOPTIONS_DIGRAPH.
Sourcepub fn default_sparse() -> Self
pub fn default_sparse() -> Self
Default options for undirected sparse graphs, equivalent to nauty’s DEFAULTOPTIONS_SPARSEGRAPH.
Sourcepub fn default_sparse_digraph() -> Self
pub fn default_sparse_digraph() -> Self
Default options for directed sparse graphs, equivalent to nauty’s DEFAULTOPTIONS_SPARSEDIGRAPH.
Trait Implementations§
Source§impl Clone for optionstruct
impl Clone for optionstruct
Source§fn clone(&self) -> optionstruct
fn clone(&self) -> optionstruct
Returns a duplicate 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 optionstruct
impl Debug for optionstruct
Source§impl Hash for optionstruct
impl Hash for optionstruct
impl Copy for optionstruct
Auto Trait Implementations§
impl Freeze for optionstruct
impl RefUnwindSafe for optionstruct
impl !Send for optionstruct
impl !Sync for optionstruct
impl Unpin for optionstruct
impl UnwindSafe for optionstruct
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