[][src]Struct ascesis::PropBlock

pub struct PropBlock { /* fields omitted */ }

Methods

impl PropBlock[src]

pub fn new() -> Self[src]

pub fn get_selector(&self) -> Result<PropSelector, AscesisError>[src]

pub fn verify_selector(
    &self,
    expected: PropSelector
) -> Result<(), AscesisError>
[src]

pub fn get<S: AsRef<str>>(&self, key: S) -> Option<&PropValue>[src]

pub fn get_size<S: AsRef<str>>(&self, key: S) -> Option<u64>[src]

pub fn get_name<S: AsRef<str>>(&self, key: S) -> Option<&str>[src]

pub fn get_identifier<S: AsRef<str>>(&self, key: S) -> Option<&str>[src]

pub fn get_name_or_identifier<S: AsRef<str>>(
    &self,
    key: S
) -> Result<Option<&str>, AscesisError>
[src]

pub fn get_nested_size<I, S>(
    &self,
    subblock_keys: I,
    value_key: S
) -> Option<u64> where
    I: IntoIterator,
    I::Item: AsRef<str>,
    S: AsRef<str>, 
[src]

pub fn get_nested_name<I, S>(
    &self,
    subblock_keys: I,
    value_key: S
) -> Option<&str> where
    I: IntoIterator,
    I::Item: AsRef<str>,
    S: AsRef<str>, 
[src]

pub fn get_nested_identifier<I, S>(
    &self,
    subblock_keys: I,
    value_key: S
) -> Option<&str> where
    I: IntoIterator,
    I::Item: AsRef<str>,
    S: AsRef<str>, 
[src]

pub fn get_sat_encoding(&self) -> Result<Option<Encoding>, AscesisError>[src]

pub fn get_vis_title(&self) -> Result<Option<&str>, AscesisError>[src]

pub fn get_vis_labels(
    &self
) -> Result<Option<&BTreeMap<String, PropValue>>, AscesisError>
[src]

Trait Implementations

impl Clone for PropBlock[src]

impl Compilable for PropBlock[src]

impl Debug for PropBlock[src]

impl Default for PropBlock[src]

impl Eq for PropBlock[src]

impl From<PropBlock> for CesFileBlock[src]

impl From<PropBlock> for PropValue[src]

impl FromStr for PropBlock[src]

type Err = ParseError<usize, String, String>

The associated error which can be returned from parsing.

impl PartialEq<PropBlock> for PropBlock[src]

impl StructuralEq for PropBlock[src]

impl StructuralPartialEq for PropBlock[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,