pub struct ConstrainsData<'types> {
pub meta: Cow<'types, Constrains>,
pub range: Range<Bound<ValueRendererBox>>,
}Expand description
Code generator data for the constrains of a specific type.
Fields§
§meta: Cow<'types, Constrains>Reference to the original constrains information.
range: Range<Bound<ValueRendererBox>>The the value should ne in as token stream literals.
Trait Implementations§
Auto Trait Implementations§
impl<'types> Freeze for ConstrainsData<'types>
impl<'types> !RefUnwindSafe for ConstrainsData<'types>
impl<'types> !Send for ConstrainsData<'types>
impl<'types> !Sync for ConstrainsData<'types>
impl<'types> Unpin for ConstrainsData<'types>
impl<'types> UnsafeUnpin for ConstrainsData<'types>
impl<'types> !UnwindSafe for ConstrainsData<'types>
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