Skip to main content

luaur_analysis/methods/
path_builder_lb.rs

1use crate::enums::type_field::TypeField;
2use crate::records::path_builder::PathBuilder;
3use crate::type_aliases::component::Component;
4
5pub trait PathBuilderLb {
6    fn lb(&mut self) -> &mut Self;
7}
8
9impl PathBuilderLb for PathBuilder {
10    fn lb(&mut self) -> &mut Self {
11        self.components
12            .push(Component::TypeField(TypeField::LowerBound));
13        self
14    }
15}