pub struct SimulationCapabilities {
pub backend: BackendInfo,
pub supported: BTreeSet<CapabilityId>,
}Fields§
§backend: BackendInfo§supported: BTreeSet<CapabilityId>Implementations§
Source§impl SimulationCapabilities
impl SimulationCapabilities
pub fn supports(&self, capability: &CapabilityId) -> bool
Trait Implementations§
Source§impl Clone for SimulationCapabilities
impl Clone for SimulationCapabilities
Source§impl Debug for SimulationCapabilities
impl Debug for SimulationCapabilities
Source§impl<'de> Deserialize<'de> for SimulationCapabilities
impl<'de> Deserialize<'de> for SimulationCapabilities
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for SimulationCapabilities
impl JsonSchema for SimulationCapabilities
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SimulationCapabilities
impl PartialEq for SimulationCapabilities
Source§impl Serialize for SimulationCapabilities
impl Serialize for SimulationCapabilities
impl StructuralPartialEq for SimulationCapabilities
Auto Trait Implementations§
impl Freeze for SimulationCapabilities
impl RefUnwindSafe for SimulationCapabilities
impl Send for SimulationCapabilities
impl Sync for SimulationCapabilities
impl Unpin for SimulationCapabilities
impl UnsafeUnpin for SimulationCapabilities
impl UnwindSafe for SimulationCapabilities
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