pub struct Settings {
pub data: bool,
pub host_ok: bool,
pub no_opaque: bool,
pub crossing: Crossing,
pub names: Spelling,
}Expand description
What a judgment asks of every part of a type.
Fields§
§data: boolEvery part is data: no function, task or other type that is not data. Without it nothing is refused, and the walk only reports the type parameters it reaches.
host_ok: boolA host type may stand where data does.
no_opaque: boolNo part is opaque.
crossing: CrossingWhether the type crosses a boundary.
names: SpellingHow decoding matches a name the text writes with one the type
declares. Under Spelling::Relaxed, a declaration two of whose
names share a relaxed key is refused, since a name could mean either.
Trait Implementations§
impl Copy for Settings
impl Eq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Forget for Settings
impl Freeze for Settings
impl Move for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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