pub struct PartialContent { /* private fields */ }Implementations§
Source§impl PartialContent
impl PartialContent
pub fn new(ctx: &ContextHandle) -> Self
pub fn get_context(&self) -> &ContextHandle
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: Self)
fn add_assign(&mut self, other: Self)
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: Self)
fn mul_assign(&mut self, other: Self)
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