pub struct RawEs { /* private fields */ }Expand description
A raw igraph_es_t together with the storage it points to; it is
destroyed (with igraph_es_destroy) on drop.
Implementations§
Source§impl RawEs
impl RawEs
Sourcepub fn get(&self) -> igraph_es_t
pub fn get(&self) -> igraph_es_t
A bitwise copy of the selector, to be passed by value to igraph.
The copy must not outlive self nor be destroyed.
Sourcepub fn as_ptr(&self) -> *const igraph_es_t
pub fn as_ptr(&self) -> *const igraph_es_t
Pointer to the selector, for functions taking const igraph_es_t *.
Sourcepub fn is_all(&self) -> bool
pub fn is_all(&self) -> bool
Whether the selector denotes all edges
(igraph_es_is_all).
Sourcepub fn raw_type(&self) -> igraph_es_type_t
pub fn raw_type(&self) -> igraph_es_type_t
The raw selector type (igraph_es_type), e.g. IGRAPH_ES_PAIRS.
Trait Implementations§
Auto Trait Implementations§
impl !Send for RawEs
impl !Sync for RawEs
impl Freeze for RawEs
impl RefUnwindSafe for RawEs
impl Unpin for RawEs
impl UnsafeUnpin for RawEs
impl UnwindSafe for RawEs
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