pub struct PartialContent { /* private fields */ }Implementations§
Source§impl PartialContent
impl PartialContent
pub fn new(ctx: &Arc<Mutex<Context>>) -> PartialContent
pub fn get_context(&self) -> &Arc<Mutex<Context>>
pub fn add_to_causes(&mut self, id: NodeID, poly: &[Vec<NodeID>])
pub fn add_to_effects(&mut self, id: NodeID, poly: &[Vec<NodeID>])
pub fn multiply_causes(&mut self, id: NodeID, poly: &[Vec<NodeID>])
pub fn multiply_effects(&mut self, id: NodeID, poly: &[Vec<NodeID>])
Trait Implementations§
Source§impl AddAssign for PartialContent
impl AddAssign for PartialContent
Source§fn add_assign(&mut self, other: PartialContent)
fn add_assign(&mut self, other: PartialContent)
Performs the
+= operation. Read moreSource§impl Clone for PartialContent
impl Clone for PartialContent
Source§fn clone(&self) -> PartialContent
fn clone(&self) -> PartialContent
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 Content for PartialContent
impl Content for PartialContent
Source§fn get_script(&self) -> Option<&str>
fn get_script(&self) -> Option<&str>
Script is a content description in text, for example,
YAML-formatted string or Ascesis source.fn get_name(&self) -> Option<&str>
fn get_carrier_ids(&mut self) -> Vec<NodeID>
fn get_causes_by_id(&self, id: NodeID) -> Option<&Vec<Vec<NodeID>>>
fn get_effects_by_id(&self, id: NodeID) -> Option<&Vec<Vec<NodeID>>>
Source§impl Debug for PartialContent
impl Debug for PartialContent
Source§impl MulAssign for PartialContent
impl MulAssign for PartialContent
Source§fn mul_assign(&mut self, other: PartialContent)
fn mul_assign(&mut self, other: PartialContent)
Performs the
*= operation. Read moreAuto Trait Implementations§
impl Freeze for PartialContent
impl RefUnwindSafe for PartialContent
impl Send for PartialContent
impl Sync for PartialContent
impl Unpin for PartialContent
impl UnwindSafe for PartialContent
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<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference
impl<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference
Source§unsafe fn part_ptr(
ptr: *const <Reference as PartialRefTarget>::RawTarget,
) -> <<Inner as Part>::PartType as PartType>::Ptr
unsafe fn part_ptr( ptr: *const <Reference as PartialRefTarget>::RawTarget, ) -> <<Inner as Part>::PartType as PartType>::Ptr
Given a constant pointer to a target, produce a constant pointer to a part of it.
Source§unsafe fn part_ptr_mut(
ptr: *mut <Reference as PartialRefTarget>::RawTarget,
) -> <<Inner as Part>::PartType as PartType>::PtrMut
unsafe fn part_ptr_mut( ptr: *mut <Reference as PartialRefTarget>::RawTarget, ) -> <<Inner as Part>::PartType as PartType>::PtrMut
Given a mutable pointer to a target, produce a mutable pointer to a part of it.