By using the transfer matrix method, we investigated spin transport in some straight structures in presence of the Rashba spin-orbit interaction. It is proved that the interference of two spin states is the same as that in one-dimensional Datta-Das spin field-effect transistor. The conductance of these structures has been calculated. Conductance quantization is common in these waveguides when we change the Fermi energy and the width of the waveguide. Using a periodic system of quadrate stubs and changing the Fermi energy, a nearly square-wave conductance can be obtained in some regions of the Fermi energy.