Enum lrlex::Visibility [−][src]
pub enum Visibility {
Private,
Public,
PublicSuper,
PublicSelf,
PublicCrate,
PublicIn(String),
}
Expand description
Specify the visibility of the module generated by CTLexerBuilder.
Variants
Module-level visibility only.
pub
pub(super)
pub(self)
pub(crate)
PublicIn(String)
pub(in {arg})
Tuple Fields of PublicIn
0: String
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Visibility
impl Send for Visibility
impl Sync for Visibility
impl Unpin for Visibility
impl UnwindSafe for Visibility
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.