Agraphinfo_t

Struct Agraphinfo_t 

Source
#[repr(C)]
pub struct Agraphinfo_t {
Show 55 fields pub hdr: Agrec_t, pub drawing: *mut layout_t, pub label: *mut textlabel_t, pub bb: boxf, pub border: [pointf; 4], pub gui_state: c_uchar, pub has_labels: c_uchar, pub has_images: boolean, pub charset: c_uchar, pub rankdir: c_int, pub ht1: f64, pub ht2: f64, pub flags: c_ushort, pub alg: *mut c_void, pub gvc: *mut GVC_t, pub cleanup: Option<unsafe extern "C" fn(g: *mut graph_t)>, pub neato_nlist: *mut *mut node_t, pub move_: c_int, pub dist: *mut *mut f64, pub spring: *mut *mut f64, pub sum_t: *mut *mut f64, pub t: *mut *mut *mut f64, pub ndim: c_ushort, pub odim: c_ushort, pub n_cluster: c_int, pub clust: *mut *mut graph_t, pub dotroot: *mut graph_t, pub nlist: *mut node_t, pub rank: *mut rank_t, pub parent: *mut graph_t, pub level: c_int, pub minrep: *mut node_t, pub maxrep: *mut node_t, pub comp: nlist_t, pub minset: *mut node_t, pub maxset: *mut node_t, pub n_nodes: c_long, pub minrank: c_short, pub maxrank: c_short, pub has_flat_edges: boolean, pub has_sourcerank: boolean, pub has_sinkrank: boolean, pub showboxes: c_uchar, pub fontnames: fontname_kind, pub nodesep: c_int, pub ranksep: c_int, pub ln: *mut node_t, pub rn: *mut node_t, pub leader: *mut node_t, pub rankleader: *mut *mut node_t, pub expanded: boolean, pub installed: c_char, pub set_type: c_char, pub label_pos: c_char, pub exact_ranksep: boolean,
}

Fields§

§hdr: Agrec_t§drawing: *mut layout_t§label: *mut textlabel_t§bb: boxf§border: [pointf; 4]§gui_state: c_uchar§has_labels: c_uchar§has_images: boolean§charset: c_uchar§rankdir: c_int§ht1: f64§ht2: f64§flags: c_ushort§alg: *mut c_void§gvc: *mut GVC_t§cleanup: Option<unsafe extern "C" fn(g: *mut graph_t)>§neato_nlist: *mut *mut node_t§move_: c_int§dist: *mut *mut f64§spring: *mut *mut f64§sum_t: *mut *mut f64§t: *mut *mut *mut f64§ndim: c_ushort§odim: c_ushort§n_cluster: c_int§clust: *mut *mut graph_t§dotroot: *mut graph_t§nlist: *mut node_t§rank: *mut rank_t§parent: *mut graph_t§level: c_int§minrep: *mut node_t§maxrep: *mut node_t§comp: nlist_t§minset: *mut node_t§maxset: *mut node_t§n_nodes: c_long§minrank: c_short§maxrank: c_short§has_flat_edges: boolean§has_sourcerank: boolean§has_sinkrank: boolean§showboxes: c_uchar§fontnames: fontname_kind§nodesep: c_int§ranksep: c_int§ln: *mut node_t§rn: *mut node_t§leader: *mut node_t§rankleader: *mut *mut node_t§expanded: boolean§installed: c_char§set_type: c_char§label_pos: c_char§exact_ranksep: boolean

Trait Implementations§

Source§

impl Clone for Agraphinfo_t

Source§

fn clone(&self) -> Agraphinfo_t

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Agraphinfo_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for Agraphinfo_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.