Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/butte-rs/butte
/ functions
Functions
413 in github.com/butte-rs/butte
⨍
Functions
413
◇
Types & classes
85
↓ 1 callers
Method
from_little_endian
(self)
butte/src/endian_scalar.rs:99
↓ 1 callers
Method
generate_enum_for_union
(&mut self, u: &ast::Union<'a>)
butte-build/src/ir/transform.rs:327
↓ 1 callers
Method
get
(&self, byte_loc: VOffsetT)
butte/src/vtable.rs:58
↓ 1 callers
Function
get_vtable_byte_len
(field_locs: &[FieldLoc])
butte/src/builder.rs:681
↓ 1 callers
Method
grow_owned_buf
(&mut self)
butte/src/builder.rs:527
↓ 1 callers
Method
ident
(&self)
butte-build/src/ir/types.rs:26
↓ 1 callers
Method
into_namespace
(self)
butte-build/src/ir/transform.rs:48
↓ 1 callers
Method
into_node
(self)
butte-build/src/ir/transform.rs:59
↓ 1 callers
Method
is_array
(&self)
butte-build/src/ir/types.rs:202
↓ 1 callers
Method
is_enum
(&self)
butte-build/src/ir/types.rs:192
↓ 1 callers
Method
make_fully_qualified_ident_relative
( &self, ident: ir::QualifiedIdent<'a>, )
butte-build/src/ir/transform.rs:456
↓ 1 callers
Method
make_union_enum_type_companion
For unions, we generate an enum type "companion" that's just a simple ubyte based enum with all the union variants, + None (default 0) This method le
butte-build/src/ir/types.rs:215
↓ 1 callers
Method
namespace
Return the underlying `Namespace` object from the element if `self` is a `Namespace`.
butte-build/src/ast/types.rs:54
↓ 1 callers
Method
new_element
( &mut self, &IndexedElement(pos, ref element): &IndexedElement<'a>, )
butte-build/src/ir/transform.rs:65
↓ 1 callers
Method
new_enum
(&mut self, e: &ast::Enum<'a>, pos: usize)
butte-build/src/ir/transform.rs:234
↓ 1 callers
Method
new_namespace
(&mut self, ns: &ast::Namespace<'a>)
butte-build/src/ir/transform.rs:84
↓ 1 callers
Method
new_root
(&mut self, root: &ast::Root<'a>, _: usize)
butte-build/src/ir/transform.rs:370
↓ 1 callers
Method
new_rpc
(&mut self, rpc: &ast::Rpc<'a>, pos: usize)
butte-build/src/ir/transform.rs:389
↓ 1 callers
Method
new_struct
(&mut self, t: &ast::Struct<'a>, pos: usize)
butte-build/src/ir/transform.rs:173
↓ 1 callers
Method
new_table
(&mut self, t: &ast::Table<'a>, pos: usize)
butte-build/src/ir/transform.rs:89
↓ 1 callers
Method
new_union
(&mut self, u: &ast::Union<'a>, pos: usize)
butte-build/src/ir/transform.rs:275
↓ 1 callers
Method
next_back
(&mut self)
butte/src/vector.rs:268
↓ 1 callers
Method
node_to_tokens
( &self, node: &ir::Node<'a>, rpc_gen: &mut Option<Box<dyn RpcGenerator>>, tok
butte-build/src/codegen.rs:1114
↓ 1 callers
Method
num_fields
(&self)
butte/src/vtable.rs:38
↓ 1 callers
Function
padding_bytes
(buf_size: usize, scalar_size: usize)
butte/src/builder.rs:690
↓ 1 callers
Method
push_slot_always
(&mut self, slotoff: VOffsetT, x: X)
butte/src/builder.rs:158
↓ 1 callers
Function
qualified_ident
(input: &str)
butte-build/src/ast/parser.rs:511
↓ 1 callers
Function
read_scalar
(s: &[u8])
butte/src/endian_scalar.rs:175
↓ 1 callers
Function
substitute_keyword
(input: &str)
butte-build/src/ir/keywords.rs:1
↓ 1 callers
Function
to_default_value_doc
Convert a `types::ast::DefaultValue` to a doc comment describing the value
butte-build/src/codegen.rs:225
↓ 1 callers
Method
to_little_endian
(self)
butte/src/endian_scalar.rs:87
↓ 1 callers
Method
track_field
(&mut self, slot_off: VOffsetT, off: UOffsetT)
butte/src/builder.rs:394
↓ 1 callers
Method
track_min_align
(&mut self, alignment: usize)
butte/src/builder.rs:615
↓ 1 callers
Method
write_field_offset
(&mut self, vtable_offset: VOffsetT, object_data_offset: VOffsetT)
butte/src/vtable_writer.rs:71
↓ 1 callers
Method
write_object_inline_size
(&mut self, n: VOffsetT)
butte/src/vtable_writer.rs:52
↓ 1 callers
Method
write_vtable
Write the VTable, if it is new.
butte/src/builder.rs:400
↓ 1 callers
Method
write_vtable_byte_length
(&mut self, n: VOffsetT)
butte/src/vtable_writer.rs:45
Method
alignment
()
butte/src/push.rs:35
Method
as_namespace_mut
(&mut self)
butte-build/src/ir/types.rs:52
Function
backslash
(input: &str)
butte-build/src/ast/parser.rs:64
Function
buffer_has_identifier
(data: &[u8], ident: &str, size_prefixed: bool)
butte/src/table.rs:102
Method
build_token_stream
(&mut self)
butte-build/src/codegen.rs:1100
Method
clone
(&self)
butte/src/primitives.rs:94
Method
collapse
Destroy the FlatBufferBuilder, returning its internal byte vector and the index into it that represents the start of valid data.
butte/src/builder.rs:123
Function
colon
(input: &str)
butte-build/src/ast/parser.rs:84
Function
comma
(input: &str)
butte-build/src/ast/parser.rs:88
Function
comment_or_space
(input: &str)
butte-build/src/ast/parser.rs:246
Function
comment_or_space0
(input: &str)
butte-build/src/ast/parser.rs:250
Function
comment_or_space1
(input: &str)
butte-build/src/ast/parser.rs:254
Method
create_vector_direct
( &'a mut self, items: &'b [T], )
butte/src/builder.rs:265
Method
create_vector_of_strings
( &'a mut self, xs: &'b [&'b str], )
butte/src/builder.rs:290
Function
dec_float_exponent
(input: &str)
butte-build/src/ast/parser.rs:2047
Method
default
()
butte-build/src/ir/types.rs:398
Method
default
()
butte/src/builder.rs:696
Method
depth
(&self)
butte-build/src/ir/types.rs:87
Method
deref
(&self)
butte/src/primitives.rs:108
Function
double_quote
(input: &str)
butte-build/src/ast/parser.rs:60
Function
emplace_scalar
(s: &mut [u8], x: T)
butte/src/endian_scalar.rs:155
Method
end_table
( &mut self, off: WIPOffset<TableUnfinishedWIPOffset>, )
butte/src/builder.rs:190
Method
end_vector
(&mut self, num_elems: usize)
butte/src/builder.rs:227
Function
enum_body
(input: &str)
butte-build/src/ast/parser.rs:681
Function
enumval_decl
Parse the individual items of an enum or union.
butte-build/src/ast/parser.rs:1310
Method
eq
(&self, o: &WIPOffset<T>)
butte/src/primitives.rs:100
Method
eq
(&self, other: &VTable<'_>)
butte/src/vtable.rs:29
Function
equals
(input: &str)
butte-build/src/ast/parser.rs:96
Function
field_offset_to_field_index
(field_o: VOffsetT)
butte/src/vtable.rs:80
Method
finish
(&mut self, root: WIPOffset<T>, file_identifier: Option<&str>)
butte/src/builder.rs:376
Method
finish_size_prefixed
(&mut self, root: WIPOffset<T>, file_identifier: Option<&str>)
butte/src/builder.rs:367
Method
fix_identifier
Utility function to fix identifiers that may be invalid, e.g that contain Rust keywords and would generate invalid code
butte-build/src/ir/types.rs:446
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
butte-build/src/ir/types.rs:227
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
butte/src/error.rs:23
Method
follow
(buf: &'a [u8], loc: usize)
butte/src/primitives.rs:175
Method
follow
(buf: &'a [u8], loc: usize)
butte/src/follow.rs:67
Method
follow
(buf: &'a [u8], loc: usize)
butte/src/vector.rs:139
Method
follow
(buf: &'a [u8], loc: usize)
butte/src/vtable.rs:88
Method
follow_buf
(buf: Self::Buf, loc: usize)
butte/src/primitives.rs:193
Method
follow_buf
(buf: Self::Buf, loc: usize)
butte/src/table.rs:80
Function
follow_cast_ref
Follow the pointer to the Vector payload, and cast it to T # Safety A pointer to T must be safely cast from any bytes and thus have the right repres
butte/src/vector.rs:127
Function
follow_slice_helper
(buf: &[u8], loc: usize)
butte/src/vector.rs:164
Method
from
(ident: ast::Ident<'a>)
butte-build/src/ir/types.rs:464
Method
from
Convert an array of size 1 to a `Type::Array`.
butte-build/src/ast/types.rs:270
Method
get_field
(&self, idx: usize)
butte/src/vtable.rs:48
Method
get_field_offset
(&self, vtable_offset: VOffsetT)
butte/src/vtable_writer.rs:61
Method
get_root
(buf: B)
butte/src/table.rs:42
Function
get_size_prefixed_root
(data: B)
butte/src/table.rs:94
Method
get_size_prefixed_root
(buf: B)
butte/src/table.rs:46
Function
hex_float_constant
(input: &str)
butte-build/src/ast/parser.rs:2148
Function
hex_float_exponent
Adapted from Python's tokenize.Floatnumber
butte-build/src/ast/parser.rs:2141
Method
init
(buf: &'a mut [u8])
butte/src/vtable_writer.rs:33
Method
init
(buf: &'a [u8], loc: usize)
butte/src/vtable.rs:35
Method
into_namespace
(self)
butte-build/src/ir/types.rs:59
Method
is_namespace
(&self)
butte-build/src/ir/types.rs:41
Method
is_namespace
Check whether an element is a namespace.
butte-build/src/ast/types.rs:49
Method
is_scalar
Check whether a `Type` is scalar.
butte-build/src/ast/types.rs:258
Method
keyword
Purposefully create an ident named after a keyword e.g to use `crate` or `super` for a type path
butte-build/src/ir/types.rs:456
Function
left_brace
(input: &str)
butte-build/src/ast/parser.rs:76
Function
left_paren
(input: &str)
butte-build/src/ast/parser.rs:68
Function
left_square_bracket
(input: &str)
butte-build/src/ast/parser.rs:108
Function
lifted_follow
(buf: &'a [u8], loc: usize)
butte/src/follow.rs:46
Function
main
()
butte-examples/build.rs:3
← previous
next →
101–200 of 413, ranked by callers