CodeQL library for Rust
codeql/rust-all 0.2.25 (changelog, source)
Search

Class Raw::MutRestriction

INTERNAL: Do not use. A mutability restriction, limiting where a field can be mutated. For example the mut(crate) restriction (an unstable feature).

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getVisibilityInner

Gets the visibility inner of this mut restriction, if it exists.

isMut

Holds if this mut restriction is mut.

toString