pub struct UnionInput {
pub rename: Option<LitStr>,
}Expand description
The INPUT face’s declaration: that a backend renders one, and what a schema calls it.
A struct where a bool would do, because the presence and the NAME are one decision and the
name is the half a declaration can move: input alone is the derived name, input(rename = "…")
is the same face under a word the declaration chose.
Fields§
§rename: Option<LitStr>input(rename = "…") — what a client calls this input object, where the declaration moved it.
None is UnionSkin::input_sdl’s law: the union’s own name where nothing else claims it,
and the Input suffix over the OUTPUT’s word where the output face claims it.
Trait Implementations§
Source§impl Clone for UnionInput
impl Clone for UnionInput
Source§impl Debug for UnionInput
impl Debug for UnionInput
Auto Trait Implementations§
impl !Send for UnionInput
impl !Sync for UnionInput
impl Freeze for UnionInput
impl RefUnwindSafe for UnionInput
impl Unpin for UnionInput
impl UnsafeUnpin for UnionInput
impl UnwindSafe for UnionInput
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