Struct smile::ffi::DSL_pattern

source ·
#[repr(C, align(8))]
pub struct DSL_pattern { /* private fields */ }

Implementations§

source§

impl DSL_pattern

source

pub fn GetSize(self: &DSL_pattern) -> c_int

source

pub fn Set(self: Pin<&mut DSL_pattern>, input: Pin<&mut DSL_network>)

source

pub fn new() -> impl New<Output = Self>

Synthesized default constructor.

source§

impl DSL_pattern

source

pub fn SetSize(self: Pin<&mut Self>, size: c_int)

source§

impl DSL_pattern

source

pub fn GetEdge(&self, from: c_int, to: c_int) -> DSL_pattern_EdgeType

source§

impl DSL_pattern

source

pub fn SetEdge( self: Pin<&mut Self>, from: c_int, to: c_int, type_: DSL_pattern_EdgeType, )

source§

impl DSL_pattern

source

pub fn HasDirectedPath(&self, from: c_int, to: c_int) -> bool

source§

impl DSL_pattern

source

pub fn HasCycle(&self) -> bool

source§

impl DSL_pattern

source

pub fn IsDAG(&self) -> bool

source§

impl DSL_pattern

source

pub fn ToDAG(self: Pin<&mut Self>) -> bool

source§

impl DSL_pattern

source

pub fn ToNetwork( self: Pin<&mut Self>, ds: &DSL_dataset, net: Pin<&mut DSL_network>, ) -> bool

source§

impl DSL_pattern

source

pub fn HasIncomingEdge(&self, to: c_int) -> bool

source§

impl DSL_pattern

source

pub fn HasOutgoingEdge(&self, from: c_int) -> bool

source§

impl DSL_pattern

source

pub fn Print(&self)

Trait Implementations§

source§

impl CopyNew for DSL_pattern

source§

unsafe fn copy_new( other: &DSL_pattern, this: Pin<&mut MaybeUninit<DSL_pattern>>, )

Synthesized copy constructor.

source§

impl Drop for DSL_pattern

source§

fn drop(self: &mut DSL_pattern)

Synthesized destructor.

source§

impl ExternType for DSL_pattern

§

type Id = (D, S, L, __, p, a, t, t, e, r, n)

A type-level representation of the type’s C++ namespace and type name. Read more
§

type Kind = Opaque

source§

impl MakeCppStorage for DSL_pattern

source§

unsafe fn allocate_uninitialized_cpp_storage() -> *mut DSL_pattern

Allocates heap space for this type in C++ and return a pointer to that space, but do not initialize that space (i.e. do not yet call a constructor). Read more
source§

unsafe fn free_uninitialized_cpp_storage(arg0: *mut DSL_pattern)

Frees a C++ allocation which has not yet had a constructor called. Read more
source§

impl MoveNew for DSL_pattern

source§

unsafe fn move_new( other: Pin<MoveRef<'_, DSL_pattern>>, this: Pin<&mut MaybeUninit<DSL_pattern>>, )

Synthesized move constructor.

source§

impl SharedPtrTarget for DSL_pattern

source§

impl UniquePtrTarget for DSL_pattern

source§

impl VectorElement for DSL_pattern

source§

impl WeakPtrTarget for DSL_pattern

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> 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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.