Class: Codify::Rust::Types::Ref
- Inherits:
-
Struct
- Object
- Struct
- Codify::Rust::Types::Ref
show all
- Includes:
- Codify::Rust::Type
- Defined in:
- lib/codify/rust/types.rb
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
#defaultible?, #definition?, #each_subtype, #primitive?, #to_rust
Instance Attribute Details
#t ⇒ Object
Returns the value of attribute t
31
32
33
|
# File 'lib/codify/rust/types.rb', line 31
def t
@t
end
|
Class Method Details
.to_s ⇒ Object
34
|
# File 'lib/codify/rust/types.rb', line 34
def self.to_s() 'Codify::Rust::Types::Ref' end
|
Instance Method Details
#to_s ⇒ Object
37
|
# File 'lib/codify/rust/types.rb', line 37
def to_s() "&#{t}" end
|
#types ⇒ Object
36
|
# File 'lib/codify/rust/types.rb', line 36
def types() [t] end
|