pub struct OverflowClipBox(pub Arc<OverflowClipBox>);Expand description
Elicitation-enabled wrapper around bevy::ui::OverflowClipBox.
This newtype uses Arc internally to ensure Clone is always available,
providing transparent access via Deref and DerefMut.
Serialization is forwarded transparently to the inner type.
Tuple Fields§
§0: Arc<OverflowClipBox>Implementations§
Source§impl OverflowClipBox
impl OverflowClipBox
Sourcepub fn is_content_box(&self) -> bool
pub fn is_content_box(&self) -> bool
Returns true if this is the content box.
Sourcepub fn is_padding_box(&self) -> bool
pub fn is_padding_box(&self) -> bool
Returns true if this is the padding box.
Sourcepub fn is_border_box(&self) -> bool
pub fn is_border_box(&self) -> bool
Returns true if this is the border box.
Source§impl OverflowClipBox
impl OverflowClipBox
Sourcepub fn is_content_box_tool_tool_attr() -> Tool
pub fn is_content_box_tool_tool_attr() -> Tool
Generated tool metadata function for is_content_box_tool
Sourcepub fn is_content_box_tool(&self) -> Result<Json<bool>, ErrorData>
pub fn is_content_box_tool(&self) -> Result<Json<bool>, ErrorData>
is_content_box MCP tool wrapper method.
Sourcepub fn is_padding_box_tool_tool_attr() -> Tool
pub fn is_padding_box_tool_tool_attr() -> Tool
Generated tool metadata function for is_padding_box_tool
Sourcepub fn is_padding_box_tool(&self) -> Result<Json<bool>, ErrorData>
pub fn is_padding_box_tool(&self) -> Result<Json<bool>, ErrorData>
is_padding_box MCP tool wrapper method.
Sourcepub fn is_border_box_tool_tool_attr() -> Tool
pub fn is_border_box_tool_tool_attr() -> Tool
Generated tool metadata function for is_border_box_tool
Trait Implementations§
Source§impl AsRef<OverflowClipBox> for OverflowClipBox
impl AsRef<OverflowClipBox> for OverflowClipBox
Source§fn as_ref(&self) -> &OverflowClipBox
fn as_ref(&self) -> &OverflowClipBox
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for OverflowClipBox
impl Clone for OverflowClipBox
Source§fn clone(&self) -> OverflowClipBox
fn clone(&self) -> OverflowClipBox
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OverflowClipBox
impl Debug for OverflowClipBox
Source§impl Deref for OverflowClipBox
impl Deref for OverflowClipBox
Source§impl DerefMut for OverflowClipBox
impl DerefMut for OverflowClipBox
Source§impl<'de> Deserialize<'de> for OverflowClipBox
impl<'de> Deserialize<'de> for OverflowClipBox
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl ElicitComplete for OverflowClipBox
impl ElicitComplete for OverflowClipBox
Source§fn validate_proofs_non_empty() -> bool
fn validate_proofs_non_empty() -> bool
Runtime check: all three proof methods return non-empty TokenStreams. Read more
Source§fn kani_proof_contains<Inner>() -> boolwhere
Inner: Elicitation,
fn kani_proof_contains<Inner>() -> boolwhere
Inner: Elicitation,
Runtime check: does this type’s Kani proof contain
Inner’s Kani proof? Read moreSource§fn verus_proof_contains<Inner>() -> boolwhere
Inner: Elicitation,
fn verus_proof_contains<Inner>() -> boolwhere
Inner: Elicitation,
Runtime check: does this type’s Verus proof contain
Inner’s Verus proof?Source§fn creusot_proof_contains<Inner>() -> boolwhere
Inner: Elicitation,
fn creusot_proof_contains<Inner>() -> boolwhere
Inner: Elicitation,
Runtime check: does this type’s Creusot proof contain
Inner’s Creusot proof?Source§impl ElicitIntrospect for OverflowClipBox
impl ElicitIntrospect for OverflowClipBox
Source§fn pattern() -> ElicitationPattern
fn pattern() -> ElicitationPattern
What elicitation pattern does this type use? Read more
Source§fn metadata() -> TypeMetadata
fn metadata() -> TypeMetadata
Get the complete structural metadata for this type. Read more
Source§impl ElicitPromptTree for OverflowClipBox
impl ElicitPromptTree for OverflowClipBox
Source§fn prompt_tree() -> PromptTree
fn prompt_tree() -> PromptTree
Return the static prompt tree for this type. Read more
Source§fn assembled_prompts() -> Vec<AssembledPrompt>
fn assembled_prompts() -> Vec<AssembledPrompt>
Return the complete assembled prompts in elicitation order. Read more
Source§impl ElicitSpec for OverflowClipBox
impl ElicitSpec for OverflowClipBox
Source§impl Elicitation for OverflowClipBox
impl Elicitation for OverflowClipBox
Source§async fn elicit<C: ElicitCommunicator>(communicator: &C) -> ElicitResult<Self>
async fn elicit<C: ElicitCommunicator>(communicator: &C) -> ElicitResult<Self>
Elicit a value of this type from the user via style-aware client. Read more
Source§fn kani_proof() -> TokenStream
fn kani_proof() -> TokenStream
Generate a Kani symbolic execution proof harness for this type. Read more
Source§fn verus_proof() -> TokenStream
fn verus_proof() -> TokenStream
Returns a
proc_macro2::TokenStream containing a Verus-verified function
with requires/ensures specifications for this type’s invariants. Read moreSource§fn creusot_proof() -> TokenStream
fn creusot_proof() -> TokenStream
Returns a
proc_macro2::TokenStream containing Creusot contract functions
with #[requires]/#[ensures]/#[trusted] attributes for this type’s invariants. Read moreSource§fn elicit_checked(
peer: Peer<RoleServer>,
) -> impl Future<Output = Result<Self, ElicitError>> + Send
fn elicit_checked( peer: Peer<RoleServer>, ) -> impl Future<Output = Result<Self, ElicitError>> + Send
Server-side elicitation via MCP peer. Read more
Source§fn with_style(style: Self::Style) -> ElicitBuilder<Self>
fn with_style(style: Self::Style) -> ElicitBuilder<Self>
Create a builder for one-off style override. Read more
Source§fn elicit_proven<C>(
communicator: &C,
) -> impl Future<Output = Result<(Self, Established<Is<Self>>), ElicitError>> + Sendwhere
C: ElicitCommunicator,
fn elicit_proven<C>(
communicator: &C,
) -> impl Future<Output = Result<(Self, Established<Is<Self>>), ElicitError>> + Sendwhere
C: ElicitCommunicator,
Elicit a value with proof it inhabits type Self. Read more
Source§fn prusti_proof() -> TokenStream
fn prusti_proof() -> TokenStream
Returns a
proc_macro2::TokenStream containing Prusti contract functions
with #[requires]/#[ensures] attributes for this type’s invariants. Read moreimpl Eq for OverflowClipBox
Source§impl From<Arc<OverflowClipBox>> for OverflowClipBox
impl From<Arc<OverflowClipBox>> for OverflowClipBox
Source§fn from(arc: Arc<OverflowClipBox>) -> Self
fn from(arc: Arc<OverflowClipBox>) -> Self
Converts to this type from the input type.
Source§impl From<OverflowClipBox> for Arc<OverflowClipBox>
impl From<OverflowClipBox> for Arc<OverflowClipBox>
Source§fn from(wrapper: OverflowClipBox) -> Self
fn from(wrapper: OverflowClipBox) -> Self
Converts to this type from the input type.
Source§impl From<OverflowClipBox> for OverflowClipBox
impl From<OverflowClipBox> for OverflowClipBox
Source§fn from(inner: OverflowClipBox) -> Self
fn from(inner: OverflowClipBox) -> Self
Converts to this type from the input type.
Source§impl From<OverflowClipBox> for OverflowClipBox
impl From<OverflowClipBox> for OverflowClipBox
Source§fn from(v: OverflowClipBox) -> Self
fn from(v: OverflowClipBox) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for OverflowClipBox
impl JsonSchema for OverflowClipBox
Source§fn json_schema(_gen: &mut SchemaGenerator) -> Schema
fn json_schema(_gen: &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 OverflowClipBox
impl PartialEq for OverflowClipBox
Source§impl Prompt for OverflowClipBox
impl Prompt for OverflowClipBox
Source§impl Serialize for OverflowClipBox
impl Serialize for OverflowClipBox
Source§impl ToCodeLiteral for OverflowClipBox
impl ToCodeLiteral for OverflowClipBox
Source§fn to_code_literal(&self) -> TokenStream
fn to_code_literal(&self) -> TokenStream
Return a
TokenStream containing a single Rust expression whose
evaluation produces a value equal to self.Source§fn type_tokens() -> TokenStreamwhere
Self: Sized,
fn type_tokens() -> TokenStreamwhere
Self: Sized,
Token stream for the concrete type name (used to annotate
None::<T>). Read moreAuto Trait Implementations§
impl Freeze for OverflowClipBox
impl RefUnwindSafe for OverflowClipBox
impl Send for OverflowClipBox
impl Sync for OverflowClipBox
impl Unpin for OverflowClipBox
impl UnsafeUnpin for OverflowClipBox
impl UnwindSafe for OverflowClipBox
Blanket Implementations§
Source§impl<T, U> AsBindGroupShaderType<U> for T
impl<T, U> AsBindGroupShaderType<U> for T
Source§fn as_bind_group_shader_type(&self, _images: &RenderAssets<GpuImage>) -> U
fn as_bind_group_shader_type(&self, _images: &RenderAssets<GpuImage>) -> U
Return the
T ShaderType for self. When used in AsBindGroup
derives, it is safe to assume that all images in self exist.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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ConditionalSend for Twhere
T: Send,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<T> ElicitJson for T
impl<T> ElicitJson for T
Source§async fn elicit_json<C>(communicator: &C) -> Result<T, ElicitError>where
C: ElicitCommunicator,
async fn elicit_json<C>(communicator: &C) -> Result<T, ElicitError>where
C: ElicitCommunicator,
Elicit a value by presenting the JSON schema and parsing the response.
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Refines<T> for Twhere
T: 'static,
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
impl<T> Settings for T
Source§impl<T, U> ToSample<U> for Twhere
U: FromSample<T>,
impl<T, U> ToSample<U> for Twhere
U: FromSample<T>,
fn to_sample_(self) -> U
Source§impl<T> TypeData for T
impl<T> TypeData for T
Source§fn clone_type_data(&self) -> Box<dyn TypeData>
fn clone_type_data(&self) -> Box<dyn TypeData>
Creates a type-erased clone of this value.
impl<T> WasmNotSend for Twhere
T: Send,
impl<T> WasmNotSendSync for Twhere
T: WasmNotSend + WasmNotSync,
impl<T> WasmNotSync for Twhere
T: Sync,
Source§impl<T> WithContract for T
impl<T> WithContract for T
Source§fn with_contract<C>(contract: C) -> ContractedElicitation<Self, C>
fn with_contract<C>(contract: C) -> ContractedElicitation<Self, C>
Attach a contract to this type’s elicitation. Read more