[−][src]Struct ascesis::CesFile
Methods
impl CesFile
[src]
pub fn from_script<S: AsRef<str>>(script: S) -> Result<Self, Box<dyn Error>>
[src]
pub fn set_root_name<S: AsRef<str>>(
&mut self,
root_name: S
) -> Result<(), Box<dyn Error>>
[src]
&mut self,
root_name: S
) -> Result<(), Box<dyn Error>>
pub fn get_vis_size<S: AsRef<str>>(&self, key: S) -> Option<u64>
[src]
pub fn get_vis_name<S: AsRef<str>>(&self, key: S) -> Option<&str>
[src]
pub fn get_nested_vis_size<I, S>(
&self,
subblock_keys: I,
value_key: S
) -> Option<u64> where
I: IntoIterator + Clone,
I::Item: AsRef<str>,
S: AsRef<str>,
[src]
&self,
subblock_keys: I,
value_key: S
) -> Option<u64> where
I: IntoIterator + Clone,
I::Item: AsRef<str>,
S: AsRef<str>,
pub fn get_nested_vis_name<I, S>(
&self,
subblock_keys: I,
value_key: S
) -> Option<&str> where
I: IntoIterator + Clone,
I::Item: AsRef<str>,
S: AsRef<str>,
[src]
&self,
subblock_keys: I,
value_key: S
) -> Option<&str> where
I: IntoIterator + Clone,
I::Item: AsRef<str>,
S: AsRef<str>,
pub fn get_sat_encoding(&self) -> Result<Option<Encoding>, AscesisError>
[src]
pub fn get_sat_search(&self) -> Result<Option<Search>, AscesisError>
[src]
Trait Implementations
impl CompilableMut for CesFile
[src]
fn compile_mut(&mut self, ctx: &ContextHandle) -> Result<bool, Box<dyn Error>>
[src]
impl Content for CesFile
[src]
fn get_script(&self) -> Option<&str>
[src]
fn get_name(&self) -> Option<&str>
[src]
fn get_carrier_ids(&mut self) -> Vec<NodeID>
[src]
fn get_causes_by_id(&self, id: NodeID) -> Option<&Vec<Vec<NodeID>>>
[src]
fn get_effects_by_id(&self, id: NodeID) -> Option<&Vec<Vec<NodeID>>>
[src]
impl Debug for CesFile
[src]
impl Default for CesFile
[src]
impl From<Vec<CesFileBlock>> for CesFile
[src]
fn from(blocks: Vec<CesFileBlock>) -> Self
[src]
impl FromStr for CesFile
[src]
type Err = ParsingError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> ParsingResult<Self>
[src]
Auto Trait Implementations
impl RefUnwindSafe for CesFile
impl Send for CesFile
impl Sync for CesFile
impl Unpin for CesFile
impl UnwindSafe for CesFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference where
Inner: Part,
Outer: Part<PartType = Field<OuterFieldType>>,
OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
Reference: HasPart<Outer> + ?Sized,
Inner: Part,
Outer: Part<PartType = Field<OuterFieldType>>,
OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
Reference: HasPart<Outer> + ?Sized,
unsafe fn part_ptr(
ptr: *const <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::Ptr
ptr: *const <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::Ptr
unsafe fn part_ptr_mut(
ptr: *mut <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::PtrMut
ptr: *mut <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::PtrMut
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,