Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cbiffle/m4vga-rs
/ functions
Functions
283 in github.com/cbiffle/m4vga-rs
⨍
Functions
283
◇
Types & classes
99
Function
end_addr_too_high
()
gfx/src/bit.rs:195
Function
end_addr_too_low
()
gfx/src/bit.rs:189
Method
foreground
Extracts the foreground color.
m4vga/src/rast/text_10x16.rs:32
Method
from
(state: S)
wasmdemos/src/lib.rs:37
Method
from
(b: BandBit)
gfx/src/bit.rs:34
Method
from
(q: (T, T, T, T))
math/src/lib.rs:56
Method
from_array_mut
( array: &mut [u32; TARGET_BUFFER_SIZE / 4], )
m4vga/src/rast/mod.rs:35
Method
from_ascii_char
(c: u8)
m4vga/src/rast/text_10x16.rs:17
Method
get_120
(v: &Vec3<T>)
math/src/lib.rs:142
Method
get_201
(v: &Vec3<T>)
math/src/lib.rs:145
Function
height
()
wasmdemos/src/lib.rs:24
Function
horizontal_full
()
gfx/src/lib.rs:267
Function
hstate_isr
Horizontal state machine ISR: call this from `TIM4`. This is one of three ISRs you must wire up for the driver to work. In the simplest case, this me
m4vga/src/driver/isr/hstate.rs:28
Method
identity
()
math/src/lib.rs:388
Function
init
Initializes a `State` from static context. # Safety This is safe as long as it's only called once.
fx/tunnel/src/bare.rs:25
Function
init
Performance measurement support using GPIOs, compiled out unless the `measurement` feature is set. Because this is intended as a debug facility, this
m4vga/src/util/measurement.rs:30
Function
is_bit_band_target
(slice: &[T])
gfx/src/bit.rs:99
Method
is_zero
(&self)
math/src/lib.rs:113
Function
lerp
(a: T, b: T, amt: R)
math/src/lib.rs:569
Method
lock
(&self)
m4vga/src/util/spin_lock.rs:60
Function
main
()
m4vga/build.rs:6
Function
main
()
m4demos/build.rs:8
Function
main
()
m4demos/src/bin/rotozoom.rs:24
Function
main
()
m4demos/src/bin/conway.rs:24
Function
main
()
m4demos/src/bin/hires_text.rs:64
Function
main
()
m4demos/src/bin/horiz_tp.rs:27
Function
main
()
m4demos/src/bin/tunnel.rs:21
Function
main
()
m4demos/src/bin/rook/main.rs:309
Function
main
()
m4demos/src/bin/xor_pattern/main.rs:41
Function
main
()
m4demos/src/bin/poly3/main.rs:38
Function
maintain_raster_isr
Raster ISR: call this from `PendSV`. This is one of three ISRs you must wire up for the driver to work. In the simplest case, this means your applica
m4vga/src/driver/isr/bg_rast.rs:93
Method
major_minor_step
(stride: isize, x_adv: isize)
gfx/src/lib.rs:82
Method
map
Replaces a guard of `T` with a guard of some portion of `T`. This is essentially a projection operation. The original guard is lost.
m4vga/src/util/spin_lock.rs:86
Method
map
(self, mut f: impl FnMut(T) -> S)
math/src/lib.rs:132
Method
mul
(self, other: Vec3<T>)
math/src/lib.rs:159
Method
new
(mem: &'a mut [u32], stride: usize)
gfx/src/lib.rs:30
Method
new
( fg_buf: B, mut bg_buf: B, fg_color: Pixel, bg_color: Pixel, )
fx/conway/src/lib.rs:33
Method
new
(segments: [S; 2])
fx/rotozoom/src/lib.rs:39
Method
new
Note that this flips the vertex ordering, because our solid renderer assumes counter-clockwise ordering because I'm inconsistent.
stlmunge/src/lib.rs:202
Method
new
()
m4vga/src/priority.rs:24
Method
new
Creates an `IRef` in the *empty* state. ```ignore static REF: IRef<MyType> = IRef::new(); ```
m4vga/src/rast/mod.rs:136
Method
new
(contents: T)
m4vga/src/util/spin_lock.rs:25
Method
new
Creates a `RaceBuffer` from two static bands of rows. The bands need not be the same length.
m4vga/src/util/race_buf.rs:46
Method
new
(value: T)
m4vga/src/util/rw_lock.rs:21
Method
new
(buf: &'a mut [AChar; COLS * ROWS])
m4demos/src/bin/hires_text.rs:176
Method
new
()
m4demos/src/bin/poly3/render.rs:59
Method
new_checked
Returns a `Thread` token only if called from thread priority.
m4vga/src/priority.rs:47
Method
normalize
Makes a new `TriRef` in normalized vertex order. If the triangle is edge-on to the viewer, and would generate no pixels, returns `None`. `v0`, `v1`,
m4demos/src/bin/poly3/render.rs:247
Method
perspective
( left: f32, top: f32, right: f32, bottom: f32, near: f32, far
math/src/lib.rs:361
Function
pre_init
()
m4vga/src/util/startup.rs:19
Function
project_bb
(addr: usize, count: usize)
gfx/src/bit.rs:126
Method
raster_callback
( &mut self, ln: usize, target: &mut m4vga::rast::TargetBuffer, ctx: &mut m4vg
fx/conway/src/lib.rs:79
Method
raster_callback
( &mut self, ln: usize, target: &mut m4vga::rast::TargetBuffer, ctx: &mut m4vg
fx/rotozoom/src/lib.rs:82
Function
reading
(x: isize)
m4vga/src/util/rw_lock.rs:221
Method
render_frame
(&mut self, _: usize, _: m4vga::priority::Thread)
fx/conway/src/lib.rs:107
Method
render_frame
(&mut self, frame: usize, thread: m4vga::priority::Thread)
fx/rotozoom/src/lib.rs:100
Method
rotate
(a: f32)
math/src/lib.rs:500
Method
rotate_pre
(sin: T, cos: T)
math/src/lib.rs:476
Method
rotate_y
(angle: f32)
math/src/lib.rs:351
Method
rotate_y_pre
(sin: T, cos: T)
math/src/lib.rs:332
Method
rotate_z
(angle: f32)
math/src/lib.rs:356
Method
rotate_z_pre
(sin: T, cos: T)
math/src/lib.rs:340
Method
scale
(x: T, y: T)
math/src/lib.rs:465
Function
shock_absorber_isr
Shock absorber ISR: call this from `TIM3`. This is one of three ISRs you must wire up for the driver to work. In the simplest case, this means your a
m4vga/src/driver/isr/shock.rs:39
Method
split
(&'a mut self)
fx/tunnel/src/lib.rs:51
Method
split
(&'a mut self)
fx/conway/src/lib.rs:61
Method
split
(&'a mut self)
fx/rotozoom/src/lib.rs:65
Function
start_addr_too_high
()
gfx/src/bit.rs:183
Function
start_addr_too_low
()
gfx/src/bit.rs:177
Method
sub
(self, other: Vec3<T>)
math/src/lib.rs:170
Method
translate
(x: T, y: T)
math/src/lib.rs:487
Function
u32_projection_at_offset
()
gfx/src/bit.rs:150
Function
u8_projection_at_offset
()
gfx/src/bit.rs:167
Function
vertical_full
()
gfx/src/lib.rs:276
Function
width
()
wasmdemos/src/lib.rs:19
Method
with_ascii_char
(self, c: u8)
m4vga/src/rast/text_10x16.rs:49
Method
write_str
(&mut self, s: &str)
m4demos/src/bin/hires_text.rs:233
Function
writing
(x: isize)
m4vga/src/util/rw_lock.rs:218
Method
zero
()
fx/tunnel/src/table.rs:29
Method
zero
()
math/src/lib.rs:109
Function
zero_length
()
gfx/src/lib.rs:258
Function
zero_length_out_x
()
gfx/src/lib.rs:294
Function
zero_length_out_y
()
gfx/src/lib.rs:303
← previous
201–283 of 283, ranked by callers