Enum glsl_lang::visitor::Visit [−][src]
Visit strategy after having visited an AST node.
Some AST nodes have children – in enum’s variants, in some fields as nested in Vec, etc.
Those nodes can be visited depending on the strategy you chose.
Variants
The visitor will go deeper in the AST by visiting all the children, if any. If no children are present or if having children doesn’t make sense for a specific part of the AST, this strategy will be ignored.
The visitor won’t visit children nor siblings and will go up.
Trait Implementations
impl Clone for Visit[src]
impl Copy for Visit[src]
impl Debug for Visit[src]
impl Eq for Visit[src]
impl Hash for Visit[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<Visit> for Visit[src]
impl StructuralEq for Visit[src]
impl StructuralPartialEq for Visit[src]
Auto Trait Implementations
impl RefUnwindSafe for Visit
impl Send for Visit
impl Sync for Visit
impl Unpin for Visit
impl UnwindSafe for Visit
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> IntoResult<T> for T[src]
type Err = Infallible
pub fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,